]> git.sesse.net Git - ffmpeg/commitdiff
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 30f332323cc9857d676fb8804af8402b1c34f532..e87157ce4672e51fe23f5e62140fd355aacd92a9 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)