mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 22:00:51 +08:00
Revert "lavc/tiff: correct the default value of YCbCrSubsampling to 2x2"
This reverts commiteb5d0f18ff. Together with89f464e9, it breaks decoding of tiff files like fate-suite/exif/image_small.tiff
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user