]> git.sesse.net Git - ffmpeg/commitdiff
lavc/tiff: correct the default value of YCbCrSubsampling to 2x2
authorPavel Skakov <pavelsx@gmail.com>
Wed, 25 Sep 2019 08:47:46 +0000 (10:47 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 25 Sep 2019 08:47:46 +0000 (10:47 +0200)
libavcodec/tiff.c

index 9f24796a8865c02a5aea0f932d819ddcaf63f553..c8b2a3680ec9aaae117f2862d47a4323e836f8e7 100644 (file)
@@ -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)