diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-04-15 00:44:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-04-16 06:11:58 +0200 |
commit | 79fa31d159765bb94b24d209a396e867fe995dcc (patch) | |
tree | 667b8ddb4a02b67ac464e81070864cd9e8853327 | |
parent | 395c91347f15913bcb8aa4a6f3f11628387a9659 (diff) | |
download | ffmpeg-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.c | 1 |
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); } } |