diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-01-17 00:30:28 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-01-17 00:42:17 +0100 |
commit | dc2f652ae4ca4e4093b6a90d82b09e0545b84c7f (patch) | |
tree | 6e8a33b2a66752ade75520a091e7b86cda29b929 | |
parent | 72ad228ada805b363c07a14703533ea60e69c090 (diff) | |
download | ffmpeg-dc2f652ae4ca4e4093b6a90d82b09e0545b84c7f.tar.gz |
Fix pix_fmt_info for yuva420.
This allows correct output pix_fmt auto-selection
if the input pix_fmt is yuva420.
Fixes ticket #290.
-rw-r--r-- | libavcodec/imgconvert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index bbeb5a5ec0..e600d1cc78 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, }, |