Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Skakov <pavelsx@gmail.com>2019-09-25 11:47:46 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-09-25 11:47:46 +0300
commiteb5d0f18ff609ba2280cea4e2c6286d216c8756b (patch)
treea418aab93ee9332e1141fd92488fa61c29d7e3ba
parent5f13859873a45424a345186e8b9913a8c4cb834f (diff)
lavc/tiff: correct the default value of YCbCrSubsampling to 2x2
-rw-r--r--libavcodec/tiff.c2
1 files changed, 1 insertions, 1 deletions
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)