imgconvert: add PIX_FMT_GRAY8A to pix_fmt_info

Fixes selecting gray8a for PAM

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-01-15 02:40:18 +01:00
parent 4640da7e58
commit d9816cd5df

View File

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