From 3bf3d666a77eaaa6ca9f3d344f585ae9e39f2882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Le=20Loarer?= Date: Sun, 27 Mar 2005 00:27:37 +0000 Subject: [PATCH] =?UTF-8?q?The=20cvs=20version=201.103=20of=20h264.c=20bro?= =?UTF-8?q?kes=2013=20conformance=20streams,=20this=20patch=20corrects=20t?= =?UTF-8?q?his=20and=20decodes=20the=20same=20streams=20as=20version=201.1?= =?UTF-8?q?02.=20patch=20by=20(Lo=C3=AFc=20Le=20Loarer=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 4087 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 7bf419f999..61ed7c5564 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3762,7 +3762,7 @@ static int decode_slice_header(H264Context *h){ else h->use_weight = 0; - if(s->current_picture.reference == 3) + if(s->current_picture.reference) decode_ref_pic_marking(h); if( h->slice_type != I_TYPE && h->slice_type != SI_TYPE && h->pps.cabac )