]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ffmetaenc.c
avformat: remove avio_flush() calls from the end of write_header functions
[ffmpeg] / libavformat / ffmetaenc.c
index a9adbb1d19c899afc7c939a1997750990ced394c..800fb1887c6f981eeca29bf3b27220faf88b4d85 100644 (file)
@@ -54,7 +54,6 @@ static int write_header(AVFormatContext *s)
     avio_write(s->pb, ID_STRING, sizeof(ID_STRING) - 1);
     avio_w8(s->pb, '1');          // version
     avio_w8(s->pb, '\n');
-    avio_flush(s->pb);
     return 0;
 }