diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-15 02:40:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-15 02:40:18 +0100 |
commit | d9816cd5df2200bc41c244298cdd30fc3475d038 (patch) | |
tree | eff8bd7ffbcd95245a39bfb2e9824637ab345f2b /libavcodec/imgconvert.c | |
parent | 4640da7e58509996ff03b1a0b018ca8f337391c7 (diff) | |
download | ffmpeg-d9816cd5df2200bc41c244298cdd30fc3475d038.tar.gz |
imgconvert: add PIX_FMT_GRAY8A to pix_fmt_info
Fixes selecting gray8a for PAM
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 8248793a0a..bbeb5a5ec0 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -184,6 +184,10 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { [PIX_FMT_GRAY8] = { .color_type = FF_COLOR_GRAY, }, + [PIX_FMT_GRAY8A] = { + .is_alpha = 1, + .color_type = FF_COLOR_GRAY, + }, [PIX_FMT_MONOWHITE] = { .color_type = FF_COLOR_GRAY, }, |