aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-07-12 12:56:28 +0200
committerAnton Khirnov <anton@khirnov.net>2023-07-15 11:02:11 +0200
commitff0160cb372fb46dee5a593d5fe3fdff0fb92414 (patch)
tree38b0d6ba3408f8eb81a7f204ffc75fa4551c2b21
parentad80857a973da89b5576fc87b928670ad1f1d9f2 (diff)
downloadffmpeg-ff0160cb372fb46dee5a593d5fe3fdff0fb92414.tar.gz
fftools/ffmpeg_demux: drop a redundant avio_flush()
It is immediately followed by avio_close(), which is documented to flush the buffers.
-rw-r--r--fftools/ffmpeg_demux.c1
1 files changed, 0 insertions, 1 deletions
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);
}