1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

Support decoding gray8a tiff images.

This commit is contained in:
Carl Eugen Hoyos
2012-01-22 04:49:46 +01:00
parent e8df18270a
commit f746f37901

View File

@@ -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;