From f8a3d81fc0b548a0f76e205fee433e4c94a4ee57 Mon Sep 17 00:00:00 2001 From: scop Date: Mon, 18 Apr 2005 19:26:16 +0000 Subject: Oops, wrong tree... revert. --- dxr3ffmpeg.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'dxr3ffmpeg.h') diff --git a/dxr3ffmpeg.h b/dxr3ffmpeg.h index e4de33b..46fed73 100644 --- a/dxr3ffmpeg.h +++ b/dxr3ffmpeg.h @@ -24,7 +24,7 @@ extern "C" { -#include + #include } #include @@ -34,35 +34,35 @@ extern "C" //! a codec used by this plugin struct Dxr3Codec { - Dxr3Codec() : Open(false) {} + Dxr3Codec() : Open(false) {} - AVCodec* codec; ///< ffmpeg's AVCodec - AVCodecContext codec_context; ///< ffmpeg's AVCodecContext - enum CodecID id; ///< id's from ffmpeg - like CODEC_ID_MP2 - bool Open; ///< is codec open? + AVCodec* codec; ///< ffmpeg's AVCodec + AVCodecContext codec_context; ///< ffmpeg's AVCodecContext + enum CodecID id; ///< id's from ffmpeg - like CODEC_ID_MP2 + bool Open; ///< is codec open? }; // ================================== // class to work with ffmpeg /*! - With cDxr3Ffmepg you can easily handle as many - codecs as you want. - At the moment we need this only for - the audiodecoder, but in future i want to use - it for ohter nice stuff :) + With cDxr3Ffmepg you can easily handle as many + codecs as you want. + At the moment we need this only for + the audiodecoder, but in future i want to use + it for ohter nice stuff :) */ class cDxr3Ffmepg : public Singleton { - public: - cDxr3Ffmepg(); - ~cDxr3Ffmepg() {} +public: + cDxr3Ffmepg(); + ~cDxr3Ffmepg() {} - bool FindCodec(struct Dxr3Codec& Codec); - bool OpenCodec(struct Dxr3Codec& Codec); - void CloseCodec(struct Dxr3Codec& Codec); + bool FindCodec(struct Dxr3Codec& Codec); + bool OpenCodec(struct Dxr3Codec& Codec); + void CloseCodec(struct Dxr3Codec& Codec); - private: - cDxr3Ffmepg(cDxr3Ffmepg&); // no copy constructor +private: + cDxr3Ffmepg(cDxr3Ffmepg&); // no copy constructor }; #endif /*_DXR3_FFMPEG_H_*/ -- cgit v1.2.3