1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

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>
This commit is contained in:
Andreas Rheinhardt
2025-04-15 00:44:48 +02:00
parent 395c91347f
commit 79fa31d159

View File

@ -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);
}
}