From ff0160cb372fb46dee5a593d5fe3fdff0fb92414 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 12 Jul 2023 12:56:28 +0200 Subject: [PATCH] fftools/ffmpeg_demux: drop a redundant avio_flush() It is immediately followed by avio_close(), which is documented to flush the buffers. --- fftools/ffmpeg_demux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index a6df2a1904..40bbfa0c0e 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -1286,7 +1286,6 @@ static void dump_attachment(InputStream *ist, const char *filename) } avio_write(out, st->codecpar->extradata, st->codecpar->extradata_size); - avio_flush(out); avio_close(out); }