Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 1caad84845..5d751628d3 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -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;