mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tiffdec: PIX_FMT_GRAY16LE support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
8293a21a9c
commit
8f239412d8
@ -323,7 +323,7 @@ static int init_image(TiffContext *s)
|
||||
s->avctx->pix_fmt = PIX_FMT_RGB24;
|
||||
break;
|
||||
case 161:
|
||||
s->avctx->pix_fmt = PIX_FMT_GRAY16BE;
|
||||
s->avctx->pix_fmt = s->le ? PIX_FMT_GRAY16LE : PIX_FMT_GRAY16BE;
|
||||
break;
|
||||
case 162:
|
||||
s->avctx->pix_fmt = PIX_FMT_GRAY8A;
|
||||
|
Loading…
Reference in New Issue
Block a user