mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge commit 'bcc5f69b33e27b5e11aaea8304ee02f8d895cdab'
* commit 'bcc5f69b33e27b5e11aaea8304ee02f8d895cdab': tiff: support reading gray+alpha at 16 bits Conflicts: libavcodec/tiff.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
47080b6d17
@ -613,6 +613,9 @@ static int init_image(TiffContext *s, ThreadFrame *frame)
|
||||
case 162:
|
||||
s->avctx->pix_fmt = AV_PIX_FMT_GRAY8A;
|
||||
break;
|
||||
case 322:
|
||||
s->avctx->pix_fmt = s->le ? AV_PIX_FMT_YA16LE : AV_PIX_FMT_YA16BE;
|
||||
break;
|
||||
case 324:
|
||||
s->avctx->pix_fmt = AV_PIX_FMT_RGBA;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user