mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '60cbd6ad84de0931314030b81df87b69d6196587'
* commit '60cbd6ad84de0931314030b81df87b69d6196587':
tiff: support reading gray+alpha at 8 bits
Conflicts:
libavcodec/tiff.c
See: f746f37901
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
8f83fb9991
|
@ -611,7 +611,7 @@ static int init_image(TiffContext *s, ThreadFrame *frame)
|
|||
s->avctx->pix_fmt = s->le ? AV_PIX_FMT_GRAY16LE : AV_PIX_FMT_GRAY16BE;
|
||||
break;
|
||||
case 162:
|
||||
s->avctx->pix_fmt = AV_PIX_FMT_GRAY8A;
|
||||
s->avctx->pix_fmt = AV_PIX_FMT_YA8;
|
||||
break;
|
||||
case 322:
|
||||
s->avctx->pix_fmt = s->le ? AV_PIX_FMT_YA16LE : AV_PIX_FMT_YA16BE;
|
||||
|
|
Loading…
Reference in New Issue