X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fvocenc.c;h=798b463a8233666266afcb74d1495a482d890250;hb=6ad61e30a16d338eab23b649365813fb150066ef;hp=321b113032e9fb531d550ce96fcb09dc2a816fc6;hpb=bad70b7af6b909691f5389e14eb7d0c03db10af9;p=ffmpeg diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c index 321b113032e..798b463a823 100644 --- a/libavformat/vocenc.c +++ b/libavformat/vocenc.c @@ -95,7 +95,7 @@ static int voc_write_trailer(AVFormatContext *s) return 0; } -AVOutputFormat ff_voc_muxer = { +const AVOutputFormat ff_voc_muxer = { .name = "voc", .long_name = NULL_IF_CONFIG_SMALL("Creative Voice"), .mime_type = "audio/x-voc", @@ -106,6 +106,6 @@ AVOutputFormat ff_voc_muxer = { .write_header = voc_write_header, .write_packet = voc_write_packet, .write_trailer = voc_write_trailer, - .codec_tag = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 }, + .codec_tag = ff_voc_codec_tags_list, .flags = AVFMT_NOTIMESTAMPS, };