From f746f3790168bf898b629942868bda703e7f1045 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 22 Jan 2012 04:49:46 +0100 Subject: [PATCH] Support decoding gray8a tiff images. --- libavcodec/tiff.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 6c440ad500..a0424b984a 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -296,6 +296,9 @@ static int init_image(TiffContext *s) case 161: s->avctx->pix_fmt = PIX_FMT_GRAY16BE; break; + case 162: + s->avctx->pix_fmt = PIX_FMT_GRAY8A; + break; case 324: s->avctx->pix_fmt = PIX_FMT_RGBA; break;