Commit a1f1ca96 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Michael Niedermayer

svq3: fix decoding residual blocks of b-frames.

The residual block data of 16x16 blocks was ignored for b-frames, which
leads to easy-to-identify artifacts. After this patch, the artifacts are
gone. Sample video: svq3_watermark.mov. (Fate results unaffected.)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b97d61f9
......@@ -1237,7 +1237,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
return -1;
}
if (mb_type != 0)
if (mb_type != 0 || h->cbp)
ff_h264_hl_decode_mb(h);
if (h->pict_type != AV_PICTURE_TYPE_B && !h->low_delay)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment