Browse code

Fix pix_fmt_info for yuva420.

This allows correct output pix_fmt auto-selection
if the input pix_fmt is yuva420.

Fixes ticket #290.

Carl Eugen Hoyos authored on 2012/01/17 08:30:28
Showing 1 changed files
... ...
@@ -109,6 +109,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
109 109
 
110 110
     /* YUV formats with alpha plane */
111 111
     [PIX_FMT_YUVA420P] = {
112
+        .is_alpha = 1,
112 113
         .color_type = FF_COLOR_YUV,
113 114
     },
114 115