[SCM] libav/experimental: Remove an apparently unneeded && !FRAME_MBAFF. This should speed the affected cases (MBAFF temporal direct MBs) up.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:59:36 UTC 2013


The following commit has been merged in the experimental branch:
commit 8a3b90686d451e9ed67794e14be42eba47a0b160
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Feb 8 04:24:50 2010 +0000

    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

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index f360c3c..d0f5553 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)){

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list