Merge commit 'bcc5f69b33e27b5e11aaea8304ee02f8d895cdab'
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Aug 2014 20:45:33 +0000 (22:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Aug 2014 20:45:33 +0000 (22:45 +0200)
* commit 'bcc5f69b33e27b5e11aaea8304ee02f8d895cdab':
  tiff: support reading gray+alpha at 16 bits

Conflicts:
libavcodec/tiff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/tiff.c

index 1caad84..5d75162 100644 (file)
@@ -613,6 +613,9 @@ static int init_image(TiffContext *s, ThreadFrame *frame)
     case 162:
         s->avctx->pix_fmt = AV_PIX_FMT_GRAY8A;
         break;
+    case 322:
+        s->avctx->pix_fmt = s->le ? AV_PIX_FMT_YA16LE : AV_PIX_FMT_YA16BE;
+        break;
     case 324:
         s->avctx->pix_fmt = AV_PIX_FMT_RGBA;
         break;