From 14ab97b2f77aaa1e92b7143b7b9322b292fe97cd Mon Sep 17 00:00:00 2001 From: Vecais Dumais Laacis Date: Thu, 9 Aug 2007 19:18:25 +0000 Subject: [PATCH] now MovieTexture_FFMpeg can be used in xbox build --- .../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index 601628f655..bbdf5cb924 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -19,6 +19,20 @@ namespace avcodec #pragma comment(lib, "ffmpeg/lib/avformat.lib") #endif +#if defined(XBOX) + /* NOTES: ffmpeg static libraries arent included in cvs - you have to build them yourself + * or remove this file to produce xbox build + * + * build ffmpeg with mingw32 ( howto http://arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php ) + * ./configure --enable-memalign-hack --enable-static --disable-mmx --target-os=mingw32 --arch=x86 + * you can use various switches to enable/disable codecs/muxers/etc. */ + #pragma comment(lib, "ffmpeg/lib/libavcodec.a") + #pragma comment(lib, "ffmpeg/lib/libavformat.a") + #pragma comment(lib, "ffmpeg/lib/libavutil.a") + #pragma comment(lib, "ffmpeg/lib/libgcc.a") + #pragma comment(lib, "ffmpeg/lib/libmingwex.a") +#endif + static struct AVPixelFormat_t { int bpp;