From 0281d32550639c806b7eccd2b17cc5d125e4253d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Aug 2008 00:38:41 +0000 Subject: [PATCH] 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 --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)){ -- 2.7.4