Fix pix_fmt_info for yuva420.

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

Fixes ticket #290.
release/0.10
Carl Eugen Hoyos 13 years ago
parent 72ad228ada
commit dc2f652ae4
  1. 1
      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,
},

Loading…
Cancel
Save