X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fastenc.c;h=e0b94b8b632ba811d3b6ea2449fc5b2dcb0e7878;hb=50b49f833ae2f7d33bd2a99776fed6cb692c171a;hp=578e658891e3aff195ac9936924f77e4dd15b544;hpb=44085b9951b06df1cab4105dcda004213988d84f;p=ffmpeg diff --git a/libavformat/astenc.c b/libavformat/astenc.c index 578e658891e..e0b94b8b632 100644 --- a/libavformat/astenc.c +++ b/libavformat/astenc.c @@ -101,8 +101,6 @@ static int ast_write_header(AVFormatContext *s) avio_wb64(pb, 0); avio_wb32(pb, 0); - avio_flush(pb); - return 0; } @@ -180,7 +178,6 @@ static int ast_write_trailer(AVFormatContext *s) } avio_seek(pb, file_size, SEEK_SET); - avio_flush(pb); } return 0; }