From eb5d0f18ff609ba2280cea4e2c6286d216c8756b Mon Sep 17 00:00:00 2001 From: Pavel Skakov Date: Wed, 25 Sep 2019 10:47:46 +0200 Subject: [PATCH] lavc/tiff: correct the default value of YCbCrSubsampling to 2x2 --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 9f24796a88..c8b2a3680e 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -2065,7 +2065,7 @@ static av_cold int tiff_init(AVCodecContext *avctx) s->width = 0; s->height = 0; s->subsampling[0] = - s->subsampling[1] = 1; + s->subsampling[1] = 2; s->avctx = avctx; ff_lzw_decode_open(&s->lzw); if (!s->lzw)