From 8d16f8576456eff35eee1a276fd7ed58df558822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Fri, 1 Aug 2025 22:36:25 +0200 Subject: [PATCH] avutil/tests/fifo: don't print trailing spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This matches the tests/ref files, which were manually stripped. Signed-off-by: Kacper Michajłow --- libavutil/tests/fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/tests/fifo.c b/libavutil/tests/fifo.c index 8cbc44c439..fbb4b8de45 100644 --- a/libavutil/tests/fifo.c +++ b/libavutil/tests/fifo.c @@ -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");