diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 8248793a0a..bbeb5a5ec0 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -184,6 +184,10 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { [PIX_FMT_GRAY8] = { .color_type = FF_COLOR_GRAY, }, + [PIX_FMT_GRAY8A] = { + .is_alpha = 1, + .color_type = FF_COLOR_GRAY, + }, [PIX_FMT_MONOWHITE] = { .color_type = FF_COLOR_GRAY, },