mirror of https://git.ffmpeg.org/ffmpeg.git
Support decoding gray8a tiff images.
This commit is contained in:
parent
e8df18270a
commit
f746f37901
|
@ -296,6 +296,9 @@ static int init_image(TiffContext *s)
|
||||||
case 161:
|
case 161:
|
||||||
s->avctx->pix_fmt = PIX_FMT_GRAY16BE;
|
s->avctx->pix_fmt = PIX_FMT_GRAY16BE;
|
||||||
break;
|
break;
|
||||||
|
case 162:
|
||||||
|
s->avctx->pix_fmt = PIX_FMT_GRAY8A;
|
||||||
|
break;
|
||||||
case 324:
|
case 324:
|
||||||
s->avctx->pix_fmt = PIX_FMT_RGBA;
|
s->avctx->pix_fmt = PIX_FMT_RGBA;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue