mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avutil/tests/pixelutils: Use av_assert0 instead for test tools
These are test tools, so they should be picky. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
5fe447bbb4
commit
36e805e9df
@ -47,7 +47,7 @@ static void check_pixfmt_descriptors(void)
|
||||
av_assert0(d->log2_chroma_w <= 3);
|
||||
av_assert0(d->log2_chroma_h <= 3);
|
||||
av_assert0(d->nb_components <= 4);
|
||||
av_assert2(av_get_pix_fmt(d->name) == av_pix_fmt_desc_get_id(d));
|
||||
av_assert0(av_get_pix_fmt(d->name) == av_pix_fmt_desc_get_id(d));
|
||||
|
||||
/* The following two checks as well as the one after the loop
|
||||
* would need to be changed if we changed the way the descriptors
|
||||
|
Loading…
x
Reference in New Issue
Block a user