header no longer needs avformat.h

This commit is contained in:
Glenn Maynard
2003-09-03 02:20:22 +00:00
parent e5813e089d
commit 775db4a782
2 changed files with 8 additions and 13 deletions
@@ -8,6 +8,14 @@
#include "SDL_utils.h"
#include "SDL_endian.h"
namespace avcodec
{
#if defined(_WIN32)
#include "ffmpeg/include/ffmpeg/avformat.h"
#else
#include <ffmpeg/avformat.h>
#endif
};
#if defined(_WIN32)
#pragma comment(lib, "ffmpeg/lib/avcodec.lib")
@@ -16,15 +16,6 @@
#include <inttypes.h>
#endif
namespace avcodec
{
#if defined(_WIN32)
#include "ffmpeg/include/ffmpeg/avformat.h"
#else
#include <ffmpeg/avformat.h>
#endif
};
class FFMpeg_Helper;
class MovieTexture_FFMpeg: public RageMovieTexture
@@ -65,10 +56,6 @@ private:
* PAUSE_DECODER: The decoder thread is idle.
*
* PLAYING: The decoder thread is running.
*
* PLAYING_ONE: The decoder thread will decode one frame, post the
* m_FrameDecoded semaphore and change to the PAUSE_DECODER state.
* This is only used by Create().
*/
enum State { DECODER_QUIT, PAUSE_DECODER, PLAYING } m_State;