[FFmpeg-devel] [PATCH 3/6] avformat: remove uneeded avio_flush() calls from the end of write_trailer functions

Martin Storsjö martin at martin.st
Sun Jan 5 22:31:29 EET 2020


On Sun, 5 Jan 2020, Marton Balint wrote:

> The IO context is always flushed by libavformat/mux.c after write_trailer is
> called, so this change should have no effect at all.
> ---
> libavformat/aiffenc.c    | 2 --
> libavformat/astenc.c     | 1 -
> libavformat/au.c         | 1 -
> libavformat/cafenc.c     | 1 -
> libavformat/flacenc.c    | 1 -
> libavformat/hashenc.c    | 1 -
> libavformat/mmf.c        | 2 --
> libavformat/mpegenc.c    | 1 -
> libavformat/soxenc.c     | 2 --
> libavformat/ttaenc.c     | 1 -
> libavformat/vc1testenc.c | 1 -
> libavformat/wavenc.c     | 2 --
> libavformat/wtvenc.c     | 2 --
> 13 files changed, 18 deletions(-)

LGTM

// Martin



More information about the ffmpeg-devel mailing list