Another patch to get xine to build on mingw32

This commit is contained in:
David Sansome 2010-02-13 13:48:40 +00:00
parent e358350309
commit 77425d4d15
1 changed files with 13 additions and 0 deletions

View File

@ -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);