summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-gb
blob: 31ffc9820cb4eedc156377e53dffea86b8ef3528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-gb,v 1.7 2009/12/09 10:13:03 drochner Exp $

--- src/combined/ffmpeg/ff_video_decoder.c.orig	2009-12-02 17:53:56.000000000 +0100
+++ src/combined/ffmpeg/ff_video_decoder.c
@@ -1235,8 +1235,10 @@ static void ff_handle_buffer (ff_video_d
     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
 
       /* init ffmpeg decoder */
       init_video_codec(this, codec_type);