Browse Source

imgconvert: add PIX_FMT_GRAY8A to pix_fmt_info

Fixes selecting gray8a for PAM

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
d9816cd5df
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavcodec/imgconvert.c

+ 4
- 0
libavcodec/imgconvert.c 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,
},


Loading…
Cancel
Save