changeset 2580:b4f6f89ec2f6 libavcodec

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 <lll+ffmpeg m4x org>)
author michael
date Sun, 27 Mar 2005 00:27:37 +0000
parents e027765cf410
children ae72796e722f
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sat Mar 26 23:51:13 2005 +0000
+++ b/h264.c	Sun Mar 27 00:27:37 2005 +0000
@@ -3762,7 +3762,7 @@
     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 )