ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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....@ffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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);
     }
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to