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
1 changed files with 3 additions and 0 deletions

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;