Remove an apparently unneeded && !FRAME_MBAFF.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Feb 2010 04:24:50 +0000 (04:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Feb 2010 04:24:50 +0000 (04:24 +0000)
This should speed the affected cases (MBAFF temporal direct MBs) up.

Originally committed as revision 21686 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.h

index f360c3c..d0f5553 100644 (file)
@@ -990,7 +990,7 @@ static void fill_decode_caches(H264Context *h, int mb_type){
                 }
             }
 
                 }
             }
 
-            if((IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred) && !FRAME_MBAFF)
+            if((IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred))
                 continue;
 
             if(USES_LIST(topleft_type, list)){
                 continue;
 
             if(USES_LIST(topleft_type, list)){