From 8a3b90686d451e9ed67794e14be42eba47a0b160 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 8 Feb 2010 04:24:50 +0000 Subject: Remove an apparently unneeded && !FRAME_MBAFF. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index f360c3cf15..d0f555313f 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -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)){ -- cgit v1.2.3