X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fomaenc.c;h=ec71956fbdc326c3c7ee9f02fd58cb597367c45e;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=7952808bf862b2ce630ccec344ac9effa6d5a3d1;hpb=26148e923613e718787c6fc4bf3f64e8909f597c;p=ffmpeg diff --git a/libavformat/omaenc.c b/libavformat/omaenc.c index 7952808bf86..ec71956fbdc 100644 --- a/libavformat/omaenc.c +++ b/libavformat/omaenc.c @@ -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, };