diff options
author | Niklas Haas <git@haasn.dev> | 2025-03-31 12:18:11 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2025-03-31 12:18:11 +0200 |
commit | d467ceaa9b147b114edacf5808c234d0a476ec55 (patch) | |
tree | 9bfcb4a08b5e6e336df515e3a48577a6cd1ece82 | |
parent | 0e2742a693d5ce453a1f3e8d52cda057dd238786 (diff) | |
download | ffmpeg-d467ceaa9b147b114edacf5808c234d0a476ec55.tar.gz |
tests/swscale: use hex format for flags values
-rw-r--r-- | libswscale/tests/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c index 61f813ccbc..935faa21a9 100644 --- a/libswscale/tests/swscale.c +++ b/libswscale/tests/swscale.c @@ -201,7 +201,7 @@ static int run_test(enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt, } get_mse(mse, out, ref, comps); - printf("%s %dx%d -> %s %3dx%3d, flags=%u dither=%u, " + printf("%s %dx%d -> %s %3dx%3d, flags=0x%x dither=%u, " "MSE={%5d %5d %5d %5d}\n", av_get_pix_fmt_name(src->format), src->width, src->height, av_get_pix_fmt_name(dst->format), dst->width, dst->height, @@ -314,7 +314,7 @@ static int run_file_tests(const AVFrame *ref, FILE *fp, struct options opts) struct mode mode; ret = sscanf(buf, - " %20s %dx%d -> %20s %dx%d, flags=%u dither=%u, " + " %20s %dx%d -> %20s %dx%d, flags=0x%x dither=%u, " "MSE={%d %d %d %d}\n", src_fmt_str, &sw, &sh, dst_fmt_str, &dw, &dh, &mode.flags, &mode.dither, |