[FFmpeg-cvslog] Support decoding gray8a tiff images.
Carl Eugen Hoyos
git at videolan.org
Sun Jan 22 04:49:40 CET 2012
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Jan 22 04:49:46 2012 +0100| [f746f3790168bf898b629942868bda703e7f1045] | committer: Carl Eugen Hoyos
Support decoding gray8a tiff images.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f746f3790168bf898b629942868bda703e7f1045
---
libavcodec/tiff.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 6c440ad..a0424b9 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;
More information about the ffmpeg-cvslog
mailing list