Mercurial > libavformat.hg
diff rtsp.c @ 3966:4a3372240319 libavformat
Add (additional) const to many global tables.
author | reimar |
---|---|
date | Thu, 02 Oct 2008 15:52:04 +0000 |
parents | 72efef66f566 |
children | 4fd67f05bad9 |
line wrap: on
line diff
--- a/rtsp.c Wed Oct 01 14:44:30 2008 +0000 +++ b/rtsp.c Thu Oct 02 15:52:04 2008 +0000 @@ -293,7 +293,7 @@ /* 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)},