Browse Source

Fix pix_fmt_info for yuva420.

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

Fixes ticket #290.
tags/n0.10
Carl Eugen Hoyos 13 years ago
parent
commit
dc2f652ae4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/imgconvert.c

+ 1
- 0
libavcodec/imgconvert.c View File

@@ -109,6 +109,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {


/* YUV formats with alpha plane */ /* YUV formats with alpha plane */
[PIX_FMT_YUVA420P] = { [PIX_FMT_YUVA420P] = {
.is_alpha = 1,
.color_type = FF_COLOR_YUV, .color_type = FF_COLOR_YUV,
}, },




Loading…
Cancel
Save