[FFmpeg-devel] [PATCH] lavc/vp6: Disable deblock filtering for Simple Profile

Ben Jackson ben at ben.com
Thu Sep 6 23:30:39 CEST 2012


In vp6 Advanced Profile, deblock filtering is conditionally enabled in
each frame header.  In Simple Profile it should always be off.  vp6 was
inheriting the wrong default from ff_vp56_init.

Signed-off-by: Ben Jackson <ben at ben.com>
---
 libavcodec/vp6.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index 34361e8..2002a1e 100644
--- a/libavcodec/vp6.c
+++ b/libavcodec/vp6.c
@@ -596,6 +596,7 @@ static av_cold int vp6_decode_init(AVCodecContext *avctx)
 
     ff_vp56_init(avctx, avctx->codec->id == AV_CODEC_ID_VP6,
                         avctx->codec->id == AV_CODEC_ID_VP6A);
+    s->deblock_filtering = 0;
     s->vp56_coord_div = vp6_coord_div;
     s->parse_vector_adjustment = vp6_parse_vector_adjustment;
     s->filter = vp6_filter;
-- 
1.6.3.GIT



More information about the ffmpeg-devel mailing list