]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/astenc.c
avformat: Remove getters and setters
[ffmpeg] / libavformat / astenc.c
index 578e658891e3aff195ac9936924f77e4dd15b544..69541bc0ca73f596375c661ff2734f090c913f0d 100644 (file)
@@ -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,
 };