mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
3def984a98
commit
dbd3dbb476
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue