diff rtsp.c @ 4088:526755859ce5 libavformat

Rename type to be consistent
author lu_zero
date Sat, 13 Dec 2008 10:45:44 +0000
parents 8adccfc01be3
children af2c0aef892b
line wrap: on
line diff
--- 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)},