aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2025-03-31 12:18:11 +0200
committerNiklas Haas <git@haasn.dev>2025-03-31 12:18:11 +0200
commitd467ceaa9b147b114edacf5808c234d0a476ec55 (patch)
tree9bfcb4a08b5e6e336df515e3a48577a6cd1ece82
parent0e2742a693d5ce453a1f3e8d52cda057dd238786 (diff)
downloadffmpeg-d467ceaa9b147b114edacf5808c234d0a476ec55.tar.gz
tests/swscale: use hex format for flags values
-rw-r--r--libswscale/tests/swscale.c4
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,