aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/graph/graphprint.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-01 05:14:23 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-02 00:49:02 +0200
commit688f3944cedf36963cf81fbd56e8022e89d038c3 (patch)
treec9a7f4e490355eee8415c5ecbf28d9c6dd81dc64 /fftools/graph/graphprint.c
parente3b03207451b375092fdd23ee5c4b5c7923e67f3 (diff)
downloadffmpeg-688f3944cedf36963cf81fbd56e8022e89d038c3.tar.gz
fftools/graph/graphprint: Remove redundant avio_flush()
The AVIOContext will be automatically flushed upon closure. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/graph/graphprint.c')
-rw-r--r--fftools/graph/graphprint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fftools/graph/graphprint.c b/fftools/graph/graphprint.c
index 7f0e85d008..e4c6886cf8 100644
--- a/fftools/graph/graphprint.c
+++ b/fftools/graph/graphprint.c
@@ -1070,7 +1070,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));