From f59c577e0bcbe6cc45de007b7a6aff81a160ca8a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Date: Tue, 15 Apr 2025 00:44:48 +0200 Subject: [PATCH 04/12] fftools/textformat/tw_avio: Don't flush unnecessarily avio_close() automatically flushes the AVIOContext. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- 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); } } -- 2.45.2