[FFmpeg-cvslog] lavc/tiff: correct the default value of YCbCrSubsampling to 2x2

Pavel Skakov git at videolan.org
Wed Sep 25 11:48:11 EEST 2019


ffmpeg | branch: master | Pavel Skakov <pavelsx at gmail.com> | Wed Sep 25 10:47:46 2019 +0200| [eb5d0f18ff609ba2280cea4e2c6286d216c8756b] | committer: Carl Eugen Hoyos

lavc/tiff: correct the default value of YCbCrSubsampling to 2x2

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb5d0f18ff609ba2280cea4e2c6286d216c8756b
---

 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)



More information about the ffmpeg-cvslog mailing list