[FFmpeg-cvslog] r14404 - trunk/libavcodec/h264.c

michael subversion
Sat Jul 26 01:49:01 CEST 2008


Author: michael
Date: Sat Jul 26 01:49:01 2008
New Revision: 14404

Log:
Remove another 2 incorrect checks. 
These would ignore fields of different parity.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Sat Jul 26 01:49:01 2008
@@ -2954,8 +2954,7 @@ static int decode_ref_pic_list_reorderin
                             assert(ref->reference);
                             assert(!ref->long_ref);
                             if(
-                                   ref->frame_num == frame_num &&
-                                   (ref->reference & pic_structure)
+                                   ref->frame_num == frame_num
                               )
                                 break;
                         }
@@ -2973,7 +2972,7 @@ static int decode_ref_pic_list_reorderin
                         }
                         ref = h->long_ref[long_idx];
                         assert(!(ref && !ref->reference));
-                        if(ref && (ref->reference & pic_structure)){
+                        if(ref){
                             ref->pic_id= pic_id;
                             assert(ref->long_ref);
                             i=0;




More information about the ffmpeg-cvslog mailing list