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
This commit is contained in:
Michael Niedermayer 2008-08-10 00:38:41 +00:00
parent 8163c870b0
commit 0281d32550

View File

@ -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)){