1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

fftools/ffmpeg_demux: drop a redundant avio_flush()

It is immediately followed by avio_close(), which is documented to flush
the buffers.
This commit is contained in:
Anton Khirnov 2023-07-12 12:56:28 +02:00
parent ad80857a97
commit ff0160cb37

View File

@ -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);
}