[SCM] libav/experimental: Do not execute the part of fill_caches() for the loopfilter that overwrites reference indexes and motion vectors. Fixes at least: CVMAQP2_Sony_G

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:27:13 UTC 2013


The following commit has been merged in the experimental branch:
commit 0281d32550639c806b7eccd2b17cc5d125e4253d
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Sun Aug 10 00:38:41 2008 +0000

    Do not execute the part of fill_caches() for the loopfilter that overwrites
    reference indexes and motion vectors.
    Fixes at least:
    CVMAQP2_Sony_G
    
    Originally committed as revision 14678 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index e3337fd..e489a10 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -391,7 +391,7 @@ static void fill_caches(H264Context *h, int mb_type, int for_deblock){
                 }
             }
 
-            if((for_deblock || (IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred)) && !FRAME_MBAFF)
+            if(for_deblock || ((IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred) && !FRAME_MBAFF))
                 continue;
 
             if(USES_LIST(topleft_type, list)){

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list