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:
parent
395c91347f
commit
79fa31d159
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue