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);
}
--
2.40.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".