]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/movenc.c
avformat: remove avio_flush() calls from the end of write_header functions
[ffmpeg] / libavformat / movenc.c
index e422bdd071a8a6fbb002db912388d76bb448b047..e20eea757142e9861c8027daec61b1b882f633b5 100644 (file)
@@ -6579,7 +6579,6 @@ static int mov_write_header(AVFormatContext *s)
         !(mov->flags & FF_MOV_FLAG_DELAY_MOOV)) {
         if ((ret = mov_write_moov_tag(pb, mov, s)) < 0)
             return ret;
-        avio_flush(pb);
         mov->moov_written = 1;
         if (mov->flags & FF_MOV_FLAG_GLOBAL_SIDX)
             mov->reserved_header_pos = avio_tell(pb);