summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-20 10:25:00 -0700
committerMartin Storsjö <martin@martin.st>2012-06-21 16:11:29 +0300
commit67ffcb9613b7bd35fd37a67a0d2363bd4d564605 (patch)
treec8b70b8bd7e4865791b4ef771868c92b7a2f4185
parent89ffd189efb3ff53bfaa3e7b3ad4e18d6c9ba03d (diff)
downloadffmpeg-streaming-67ffcb9613b7bd35fd37a67a0d2363bd4d564605.zip
ffmpeg-streaming-67ffcb9613b7bd35fd37a67a0d2363bd4d564605.tar.gz
lavf: Make codec_tag arrays constant
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/cafdec.c2
-rw-r--r--libavformat/ivfdec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index e35026f..d5ee9be 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 9482fc2..b3555f4 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 },
};
OpenPOWER on IntegriCloud