mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
tiff: support reading gray+alpha at 8 bits
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
parent
4de8b60684
commit
b31d76e45f
@ -262,6 +262,9 @@ static int init_image(TiffContext *s, AVFrame *frame)
|
||||
case 161:
|
||||
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;
|
||||
break;
|
||||
case 324:
|
||||
s->avctx->pix_fmt = AV_PIX_FMT_RGBA;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user