diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-01-22 04:49:46 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-01-22 04:49:46 +0100 |
commit | f746f3790168bf898b629942868bda703e7f1045 (patch) | |
tree | cfbde0009cf8eb8ac7d9422ce77a36434f193477 /libavcodec/tiff.c | |
parent | e8df18270a50fd57eab06f1718ad9d075b200d98 (diff) | |
download | ffmpeg-f746f3790168bf898b629942868bda703e7f1045.tar.gz |
Support decoding gray8a tiff images.
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r-- | libavcodec/tiff.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |