diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index e35026feda..d5ee9be92a 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -394,5 +394,5 @@ AVInputFormat ff_caf_demuxer = { .read_header = read_header, .read_packet = read_packet, .read_seek = read_seek, - .codec_tag = (const AVCodecTag*[]){ ff_codec_caf_tags, 0 }, + .codec_tag = (const AVCodecTag* const []){ ff_codec_caf_tags, 0 }, }; diff --git a/libavformat/ivfdec.c b/libavformat/ivfdec.c index 9482fc2ab0..b3555f42a4 100644 --- a/libavformat/ivfdec.c +++ b/libavformat/ivfdec.c @@ -87,5 +87,5 @@ AVInputFormat ff_ivf_demuxer = { .read_header = read_header, .read_packet = read_packet, .flags = AVFMT_GENERIC_INDEX, - .codec_tag = (const AVCodecTag*[]){ ff_codec_bmp_tags, 0 }, + .codec_tag = (const AVCodecTag* const []){ ff_codec_bmp_tags, 0 }, };