From 322edd2386a83ee244c676c6e48dbe4f062ec461 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 1 Jun 2025 05:14:23 +0200 Subject: [PATCH 11/11] fftools/graph/graphprint: Remove redundant avio_flush() The AVIOContext will be automatically flushed upon closure. Signed-off-by: Andreas Rheinhardt --- fftools/graph/graphprint.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fftools/graph/graphprint.c b/fftools/graph/graphprint.c index cb444ecbd2..66d809a75a 100644 --- a/fftools/graph/graphprint.c +++ b/fftools/graph/graphprint.c @@ -1065,7 +1065,6 @@ static int print_filtergraphs_priv(FilterGraph **graphs, int nb_graphs, InputFil } avio_write(avio, (const unsigned char *)target_buf.str, FFMIN(target_buf.len, target_buf.size - 1)); - avio_flush(avio); if ((ret = avio_closep(&avio)) < 0) av_log(NULL, AV_LOG_ERROR, "Error closing graph output file, loss of information possible: %s\n", av_err2str(ret)); -- 2.45.2