aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/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 /libavutil/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 'libavutil/tests')
-rw-r--r--libavutil/tests/pixdesc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavutil/tests/pixdesc.c b/libavutil/tests/pixdesc.c
index 7fbfeea96c..34e2bea932 100644
--- a/libavutil/tests/pixdesc.c
+++ b/libavutil/tests/pixdesc.c
@@ -37,10 +37,6 @@ int main(void){
skip = 0;
}
av_log(NULL, AV_LOG_INFO, "pix fmt %s avg_bpp:%d colortype:%d\n", desc->name, av_get_padded_bits_per_pixel(desc), get_color_type(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;
}