aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tiff.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-09-26 00:34:44 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-09-26 00:34:44 +0200
commitdbd3dbb4766126a806e7aeaa3e2dfbc3557f66f9 (patch)
tree724eac274955e44dc8cbdb777459a46baee3674f /libavcodec/tiff.c
parent3def984a98c3f374db974606013892f71c406af9 (diff)
downloadffmpeg-dbd3dbb4766126a806e7aeaa3e2dfbc3557f66f9.tar.gz
Revert "lavc/tiff: correct the default value of YCbCrSubsampling to 2x2"
This reverts commit eb5d0f18ff609ba2280cea4e2c6286d216c8756b. Together with 89f464e9, it breaks decoding of tiff files like fate-suite/exif/image_small.tiff
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index c8b2a3680e..9f24796a88 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] = 2;
+ s->subsampling[1] = 1;
s->avctx = avctx;
ff_lzw_decode_open(&s->lzw);
if (!s->lzw)