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

Michael Niedermayer michaelni at gmx.at
Fri Sep 7 01:41:26 CEST 2012


On Thu, Sep 06, 2012 at 02:30:39PM -0700, Ben Jackson wrote:
> 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;

applied

Thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120907/f099b983/attachment.asc>


More information about the ffmpeg-devel mailing list