X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fastenc.c;h=69541bc0ca73f596375c661ff2734f090c913f0d;hb=0181162bb54ce62ec212436a12d059726d8cd1df;hp=578e658891e3aff195ac9936924f77e4dd15b544;hpb=bad70b7af6b909691f5389e14eb7d0c03db10af9;p=ffmpeg diff --git a/libavformat/astenc.c b/libavformat/astenc.c index 578e658891e..69541bc0ca7 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; } @@ -210,5 +207,5 @@ AVOutputFormat ff_ast_muxer = { .write_packet = ast_write_packet, .write_trailer = ast_write_trailer, .priv_class = &ast_muxer_class, - .codec_tag = (const AVCodecTag* const []){ff_codec_ast_tags, 0}, + .codec_tag = ff_ast_codec_tags_list, };