X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsoxenc.c;h=ce276f88b5d917feaed594b8251a4ca7a682664a;hb=9086af2a0a590c7f576b72379d1708392cd96d5c;hp=7b37bd48484919fb094878f1a84f4baf7019da60;hpb=398000abcf980d239a789da6f69811913d2fc635;p=ffmpeg diff --git a/libavformat/soxenc.c b/libavformat/soxenc.c index 7b37bd48484..ce276f88b5d 100644 --- a/libavformat/soxenc.c +++ b/libavformat/soxenc.c @@ -80,8 +80,6 @@ static int sox_write_header(AVFormatContext *s) ffio_fill(pb, 0, comment_size - comment_len); - avio_flush(pb); - return 0; } @@ -101,8 +99,6 @@ static int sox_write_trailer(AVFormatContext *s) } else avio_wb64(pb, num_samples); avio_seek(pb, file_size, SEEK_SET); - - avio_flush(pb); } return 0;