summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-10-02 15:52:04 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-10-02 15:52:04 +0000
commit9b5ede5b64a81195ed922ce92c7f4e7b185be697 (patch)
tree22421f60e5e1fda0e2c6a4261e971349fb9e4f6d /libavformat
parent6dbfb7de82552062bb892e9f775f83a3e7072af4 (diff)
Add (additional) const to many global tables.
Originally committed as revision 15515 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/isom.c2
-rw-r--r--libavformat/rtsp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/isom.c b/libavformat/isom.c
index 2e7154e6c2..304aa192a5 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -221,7 +221,7 @@ const AVCodecTag ff_codec_movsubtitle_tags[] = {
/* cf. QTFileFormat.pdf p253, qtff.pdf p205 */
/* http://developer.apple.com/documentation/mac/Text/Text-368.html */
/* deprecated by putting the code as 3*5bit ascii */
-static const char *mov_mdhd_language_map[] = {
+static const char * const mov_mdhd_language_map[] = {
/* 0-9 */
"eng", "fra", "ger", "ita", "dut", "sve", "spa", "dan", "por", "nor",
"heb", "jpn", "ara", "fin", "gre", "ice", "mlt", "tur", "hr "/*scr*/, "chi"/*ace?*/,
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 254931cf3d..b1fafedf01 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -293,7 +293,7 @@ typedef struct attrname_map
/* All known fmtp parmeters and the corresping RTPAttrTypeEnum */
#define ATTR_NAME_TYPE_INT 0
#define ATTR_NAME_TYPE_STR 1
-static attrname_map_t attr_names[]=
+static const attrname_map_t attr_names[]=
{
{"SizeLength", ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, sizelength)},
{"IndexLength", ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, indexlength)},