avutil/tests/fifo: 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:36:25 +02:00
parent 3e69541ff3
commit 8d16f85764

View File

@@ -104,7 +104,7 @@ int main(void)
/* read data */
for (i = 0; av_fifo_can_read(fifo); i++) {
av_fifo_read(fifo, &j, 1);
printf("%d ", j);
printf(i == 0 ? "%d" : " %d", j);
}
printf("\n");