1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavc/tiff: correct the default value of YCbCrSubsampling to 2x2

This commit is contained in:
Pavel Skakov 2019-09-25 10:47:46 +02:00 committed by Carl Eugen Hoyos
parent 5f13859873
commit eb5d0f18ff

View File

@ -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)