lavf: Make codec_tag arrays constant

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Ronald S. Bultje 2012-06-20 10:25:00 -07:00 committed by Martin Storsjö
parent 89ffd189ef
commit 67ffcb9613
2 changed files with 2 additions and 2 deletions

View File

@ -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 },
};

View File

@ -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 },
};