diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 5d751628d3..5c9823a657 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -611,7 +611,7 @@ static int init_image(TiffContext *s, ThreadFrame *frame) 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; + s->avctx->pix_fmt = AV_PIX_FMT_YA8; break; case 322: s->avctx->pix_fmt = s->le ? AV_PIX_FMT_YA16LE : AV_PIX_FMT_YA16BE;