# HG changeset patch # User lu_zero # Date 1229165144 0 # Node ID 526755859ce55c74770d63d8d3ffd2568fafcac9 # Parent 950dc8531665c306b543669073af4a99c6dd07a8 Rename type to be consistent diff -r 950dc8531665 -r 526755859ce5 rtsp.c --- a/rtsp.c Sat Dec 13 00:04:34 2008 +0000 +++ b/rtsp.c Sat Dec 13 10:45:44 2008 +0000 @@ -283,17 +283,16 @@ return; } -typedef struct attrname_map -{ +typedef struct { const char *str; uint16_t type; uint32_t offset; -} attrname_map_t; +} AttrNameMap; /* All known fmtp parmeters and the corresping RTPAttrTypeEnum */ #define ATTR_NAME_TYPE_INT 0 #define ATTR_NAME_TYPE_STR 1 -static const attrname_map_t attr_names[]= +static const AttrNameMap attr_names[]= { {"SizeLength", ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, sizelength)}, {"IndexLength", ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, indexlength)},