[FFmpeg-cvslog] fftools/graph/graphprint: Remove redundant avio_flush()

Andreas Rheinhardt git at videolan.org
Mon Jun 2 01:58:36 EEST 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Jun  1 05:14:23 2025 +0200| [688f3944cedf36963cf81fbd56e8022e89d038c3] | committer: Andreas Rheinhardt

fftools/graph/graphprint: Remove redundant avio_flush()

The AVIOContext will be automatically flushed upon closure.

Reviewed-by: softworkz . <softworkz-at-hotmail.com at ffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=688f3944cedf36963cf81fbd56e8022e89d038c3
---

 fftools/graph/graphprint.c | 1 -
 1 file changed, 1 deletion(-)

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));



More information about the ffmpeg-cvslog mailing list