]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/flacenc.c
avformat: remove unneeded avio_flush() calls from the end of write_trailer functions
[ffmpeg] / libavformat / flacenc.c
index abbed38f89bf07f961147b4a4542f272cd1c2b7e..1aae0c97e0f8b203a49b56521cf5d7da6e2190b2 100644 (file)
@@ -349,7 +349,6 @@ static int flac_write_trailer(struct AVFormatContext *s)
         avio_seek(pb, 8, SEEK_SET);
         avio_write(pb, streaminfo, FLAC_STREAMINFO_SIZE);
         avio_seek(pb, file_size, SEEK_SET);
-        avio_flush(pb);
     } else {
         av_log(s, AV_LOG_WARNING, "unable to rewrite FLAC header.\n");
     }