Remove another stupidity, long_ref==0 check 4 lines after assert(long_ref==0).
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jul 2008 22:39:43 +0000 (22:39 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jul 2008 22:39:43 +0000 (22:39 +0000)
Originally committed as revision 14400 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 30f3323..e87157c 100644 (file)
@@ -2956,7 +2956,7 @@ static int decode_ref_pic_list_reordering(H264Context *h){
                             if(ref->data[0] != NULL &&
                                    ref->frame_num == frame_num &&
                                    (ref->reference & pic_structure) &&
-                                   ref->long_ref == 0) // ignore non-existing pictures by testing data[0] pointer
+                                   ) // ignore non-existing pictures by testing data[0] pointer
                                 break;
                         }
                         if(i>=0)