[FFmpeg-cvslog] Revert "lavc/tiff: correct the default value of YCbCrSubsampling to 2x2"
Carl Eugen Hoyos
git at videolan.org
Thu Sep 26 01:38:13 EEST 2019
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Thu Sep 26 00:34:44 2019 +0200| [dbd3dbb4766126a806e7aeaa3e2dfbc3557f66f9] | committer: Carl Eugen Hoyos
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
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dbd3dbb4766126a806e7aeaa3e2dfbc3557f66f9
---
libavcodec/tiff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list