Commit 8f239412 authored by Paul B Mahol's avatar Paul B Mahol

tiffdec: PIX_FMT_GRAY16LE support

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 8293a21a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment