summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
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/rtsp.c
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/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
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)},