From 527026526fe2282cc9ca8ba74073978f403e2ead Mon Sep 17 00:00:00 2001 From: methodus Date: Mon, 22 Oct 2012 06:02:01 +0200 Subject: Seeking finally works even on TV sets. --- include/tools/codec.h | 53 --------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 include/tools/codec.h (limited to 'include') diff --git a/include/tools/codec.h b/include/tools/codec.h deleted file mode 100644 index 768fa15..0000000 --- a/include/tools/codec.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * codec.h - * - * Created on: 12.10.2012 - * Author: savop - */ - -#ifndef CODEC_H_ -#define CODEC_H_ - -#ifdef __cplusplus - #define __STDC_CONSTANT_MACROS - #ifdef _STDINT_H - #undef _STDINT_H - #endif - #include -#endif - -extern "C" { -#include -#include -} - -#include - -using namespace std; - -namespace upnp { - -namespace codec { - -class cFormatContext { -public: - cFormatContext(); - virtual ~cFormatContext(); - - bool Open(const string& file); - - const AVCodec* GetCodec(AVMediaType Type) const; - const AVCodecContext* GetCodecContext(AVMediaType Type) const; - const AVStream* GetStream(AVMediaType Type) const; - - AVFormatContext* operator*() const; -private: - AVFormatContext* formatCtx; -}; - -} - -} - - -#endif /* CODEC_H_ */ -- cgit v1.2.3