]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/omaenc.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / omaenc.c
index 7952808bf862b2ce630ccec344ac9effa6d5a3d1..ec71956fbdc326c3c7ee9f02fd58cb597367c45e 100644 (file)
@@ -94,7 +94,7 @@ static av_cold int oma_write_header(AVFormatContext *s)
     return 0;
 }
 
-AVOutputFormat ff_oma_muxer = {
+const AVOutputFormat ff_oma_muxer = {
     .name              = "oma",
     .long_name         = NULL_IF_CONFIG_SMALL("Sony OpenMG audio"),
     .mime_type         = "audio/x-oma",
@@ -102,6 +102,6 @@ AVOutputFormat ff_oma_muxer = {
     .audio_codec       = AV_CODEC_ID_ATRAC3,
     .write_header      = oma_write_header,
     .write_packet      = ff_raw_write_packet,
-    .codec_tag         = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
+    .codec_tag         = ff_oma_codec_tags_list,
     .flags             = AVFMT_NOTIMESTAMPS,
 };