diff options
author | Marton Balint <cus@passwd.hu> | 2018-04-20 00:00:47 +0300 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-04-30 22:51:31 +0300 |
commit | 56b081da578f87aed804b44e539f6e5345f3049a (patch) | |
tree | 04d217c90fa2c4133dada372639644261d32a519 /libavcodec/tests | |
parent | 4c501bafc08c0260c299074d119b85ba39ab334a (diff) |
avutil/pixdesc: add AV_PIX_FMT_FLAG_ALPHA to AV_PIX_FMT_PAL8
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/tests')
-rw-r--r-- | libavcodec/tests/imgconvert.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/tests/imgconvert.c b/libavcodec/tests/imgconvert.c index c598d461d3..aefc324bf5 100644 --- a/libavcodec/tests/imgconvert.c +++ b/libavcodec/tests/imgconvert.c @@ -39,10 +39,6 @@ int main(void){ skip = 0; } av_log(NULL, AV_LOG_INFO, "pix fmt %s yuv_plan:%d avg_bpp:%d\n", desc->name, is_yuv_planar(desc), av_get_padded_bits_per_pixel(desc)); - if ((!(desc->flags & AV_PIX_FMT_FLAG_ALPHA)) != (desc->nb_components != 2 && desc->nb_components != 4)) { - av_log(NULL, AV_LOG_ERROR, "Alpha flag mismatch\n"); - err = 1; - } } return err; } |