[FFmpeg-cvslog] avutil/tests/pixelutils: Use av_assert0 instead for test tools
Andreas Rheinhardt
git at videolan.org
Fri Sep 30 16:03:50 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Sep 26 21:24:15 2022 +0200| [36e805e9df012c20641fac5914a058f9c5ae15fd] | committer: Andreas Rheinhardt
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 at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=36e805e9df012c20641fac5914a058f9c5ae15fd
---
libavutil/tests/pixelutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/tests/pixelutils.c b/libavutil/tests/pixelutils.c
index 41663d3eda..e1b7dd19b2 100644
--- a/libavutil/tests/pixelutils.c
+++ b/libavutil/tests/pixelutils.c
@@ -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
More information about the ffmpeg-cvslog
mailing list