From 3bf3d666a77eaaa6ca9f3d344f585ae9e39f2882 Mon Sep 17 00:00:00 2001 From: Loïc Le Loarer Date: Sun, 27 Mar 2005 00:27:37 +0000 Subject: The cvs version 1.103 of h264.c brokes 13 conformance streams, this patch corrects this and decodes the same streams as version 1.102. patch by (Loïc Le Loarer ) 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 ) -- cgit v1.2.3