]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mpjpeg.c
avformat: remove avio_flush() calls from the end of write_header functions
[ffmpeg] / libavformat / mpjpeg.c
index 80f83c58719d604936b5f3b702a2e037f1149fca..e410e848017dabc81087839833f89c823455f9d7 100644 (file)
@@ -34,7 +34,6 @@ static int mpjpeg_write_header(AVFormatContext *s)
 {
     MPJPEGContext *mpj = s->priv_data;
     avio_printf(s->pb, "--%s\r\n", mpj->boundary_tag);
-    avio_flush(s->pb);
     return 0;
 }