From 77425d4d15b11a7b42926d4f816b55ab0dce92cc Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 13 Feb 2010 13:48:40 +0000 Subject: [PATCH] Another patch to get xine to build on mingw32 --- dist/windows/xine-ff_video_decoder.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dist/windows/xine-ff_video_decoder.patch diff --git a/dist/windows/xine-ff_video_decoder.patch b/dist/windows/xine-ff_video_decoder.patch new file mode 100644 index 000000000..61a3c0792 --- /dev/null +++ b/dist/windows/xine-ff_video_decoder.patch @@ -0,0 +1,13 @@ +--- src/combined/ffmpeg/ff_video_decoder.c~ 2010-02-13 13:42:52.000000000 +0000 ++++ src/combined/ffmpeg/ff_video_decoder.c 2010-02-13 13:42:52.000000000 +0000 +@@ -1235,8 +1235,10 @@ + if (this->decoder_init_mode) { + int codec_type = buf->type & 0xFFFF0000; + ++#ifdef AVCODEC_HAS_REORDERED_OPAQUE + if (!ff_check_extradata(this, codec_type, buf)) + return; ++#endif // AVCODEC_HAS_REORDERED_OPAQUE + + /* init ffmpeg decoder */ + init_video_codec(this, codec_type);