[FFmpeg-devel] [PATCH 5/6] avformat: remove more unneeded avio_flush() calls
Martin Storsjö
martin at martin.st
Sun Jan 5 22:36:46 EET 2020
On Sun, 5 Jan 2020, Marton Balint wrote:
> These instances are simply redundant or present because avio_flush() used to be
> required before doing a seekback. That is no longer the case, aviobuf code does
> the flush automatically on seek.
>
> This only affects code which is either disabled for streaming IO contexts or
> does no seekbacks after the flush, so this change should have no adverse effect
> on streaming.
>
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavformat/asfenc.c | 1 -
> libavformat/avienc.c | 1 -
> libavformat/gxfenc.c | 2 --
> libavformat/segafilmenc.c | 2 --
> libavformat/wavenc.c | 7 -------
> 5 files changed, 13 deletions(-)
Possibly ok
// Martin
More information about the ffmpeg-devel
mailing list