ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
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 . <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> 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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to