X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsoxenc.c;h=ce276f88b5d917feaed594b8251a4ca7a682664a;hb=930391e5988abe126d29c5e9b09fab459e0b8936;hp=7b37bd48484919fb094878f1a84f4baf7019da60;hpb=ebdc5c419aef0d9eed8c1ec57b30238194c1db0a;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;