[SCM] libav/experimental: tiff: support reading gray+alpha at 8 bits

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:56 UTC 2014


The following commit has been merged in the experimental branch:
commit b31d76e45fc3c6529dd7109e721676f3ec376d00
Author: Carl Eugen Hoyos <cehoyos at ag.or.at>
Date:   Sun Jul 20 02:34:19 2014 -0400

    tiff: support reading gray+alpha at 8 bits
    
    Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>

diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 6c72dc8..69d55c6 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -262,6 +262,9 @@ static int init_image(TiffContext *s, AVFrame *frame)
     case 161:
         s->avctx->pix_fmt = s->le ? AV_PIX_FMT_GRAY16LE : AV_PIX_FMT_GRAY16BE;
         break;
+    case 162:
+        s->avctx->pix_fmt = AV_PIX_FMT_GRAY8A;
+        break;
     case 324:
         s->avctx->pix_fmt = AV_PIX_FMT_RGBA;
         break;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list