diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index bbeb5a5ec0b0c7a4753ece904518cdd1553bb1e6..e600d1cc7862e00eb61e411bcd8db41a1ca9dba3 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -109,6 +109,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
 
     /* YUV formats with alpha plane */
     [PIX_FMT_YUVA420P] = {
+        .is_alpha = 1,
         .color_type = FF_COLOR_YUV,
     },