aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tests
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2018-04-19 23:00:47 +0200
committerMarton Balint <cus@passwd.hu>2018-04-30 21:51:31 +0200
commit56b081da578f87aed804b44e539f6e5345f3049a (patch)
tree04d217c90fa2c4133dada372639644261d32a519 /libavcodec/tests
parent4c501bafc08c0260c299074d119b85ba39ab334a (diff)
downloadffmpeg-56b081da578f87aed804b44e539f6e5345f3049a.tar.gz
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.c4
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;
}