Browse Source

lavf: Make codec_tag arrays constant

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n1.0
Ronald S. Bultje Martin Storsjö 13 years ago
parent
commit
67ffcb9613
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavformat/cafdec.c
  2. +1
    -1
      libavformat/ivfdec.c

+ 1
- 1
libavformat/cafdec.c 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 },
};

+ 1
- 1
libavformat/ivfdec.c 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 },
};

Loading…
Cancel
Save