summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-10 00:38:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-10 00:38:41 +0000
commit0281d32550639c806b7eccd2b17cc5d125e4253d (patch)
tree367383bf5c259f35420a517cd134ce5728d52d68
parent8163c870b017359fd1f6c4df1abf58d95bdfa478 (diff)
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
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index e3337fd1ba..e489a10618 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)){