1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix pix_fmt_info for yuva420.

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

Fixes ticket #290.
This commit is contained in:
Carl Eugen Hoyos 2012-01-17 00:30:28 +01:00
parent 72ad228ada
commit dc2f652ae4

View File

@ -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,
},