aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-15 00:44:48 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-16 06:11:58 +0200
commit79fa31d159765bb94b24d209a396e867fe995dcc (patch)
tree667b8ddb4a02b67ac464e81070864cd9e8853327
parent395c91347f15913bcb8aa4a6f3f11628387a9659 (diff)
downloadffmpeg-79fa31d159765bb94b24d209a396e867fe995dcc.tar.gz
fftools/textformat/tw_avio: Don't flush unnecessarily
avio_close() automatically flushes the AVIOContext. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--fftools/textformat/tw_avio.c1
1 files changed, 0 insertions, 1 deletions
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);
}
}