[FFmpeg-cvslog] fftools/textformat/tw_avio: Don't flush unnecessarily
Andreas Rheinhardt
git at videolan.org
Wed Apr 16 07:25:15 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Apr 15 00:44:48 2025 +0200| [79fa31d159765bb94b24d209a396e867fe995dcc] | committer: Andreas Rheinhardt
fftools/textformat/tw_avio: Don't flush unnecessarily
avio_close() automatically flushes the AVIOContext.
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=79fa31d159765bb94b24d209a396e867fe995dcc
---
fftools/textformat/tw_avio.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fftools/textformat/tw_avio.c b/fftools/textformat/tw_avio.c
index 77f8521235..f9fea24b19 100644
--- a/fftools/textformat/tw_avio.c
+++ b/fftools/textformat/tw_avio.c
@@ -41,7 +41,6 @@ static av_cold void iowriter_uninit(AVTextWriterContext *wctx)
IOWriterContext *ctx = wctx->priv;
if (ctx->close_on_uninit && ctx->avio_context) {
- avio_flush(ctx->avio_context);
avio_close(ctx->avio_context);
}
}
More information about the ffmpeg-cvslog
mailing list