[FFmpeg-devel] [PATCH 1/2] svq3: fix decoding residual blocks of b-frames.
Ronald S. Bultje
rsbultje at gmail.com
Tue Feb 19 06:03:01 CET 2013
From: "Ronald S. Bultje" <rsbultje at gmail.com>
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.)
---
libavcodec/svq3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index 10ee109..7817766 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -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)
--
1.7.11.3
More information about the ffmpeg-devel
mailing list