avutil/tests/hash: don't print trailing spaces

This matches the tests/ref files, which were manually stripped.

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow
2025-08-01 22:48:23 +02:00
parent c819e59721
commit 63bb6201c7

View File

@@ -49,9 +49,9 @@ int main(void)
av_hash_init(ctx);
av_hash_update(ctx, src, SRC_BUF_SIZE);
av_hash_final_bin(ctx, dst, DST_BUF_SIZE);
printf("%s bin: ", av_hash_get_name(ctx));
printf("%s bin:", av_hash_get_name(ctx));
for (j = 0; j < av_hash_get_size(ctx); j++) {
printf("%#x ", dst[j]);
printf(" %#x", dst[j]);
}
printf("\n");