Browse Source

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

This reverts commit eb5d0f18ff.

Together with 89f464e9, it breaks decoding of tiff files like fate-suite/exif/image_small.tiff
tags/n4.3
Carl Eugen Hoyos 5 years ago
parent
commit
dbd3dbb476
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/tiff.c

+ 1
- 1
libavcodec/tiff.c 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] = 2;
s->subsampling[1] = 1;
s->avctx = avctx;
ff_lzw_decode_open(&s->lzw);
if (!s->lzw)


Loading…
Cancel
Save