summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2008-12-13 10:45:44 +0000
committerLuca Barbato <lu_zero@gentoo.org>2008-12-13 10:45:44 +0000
commit644e7acba4593bd09260bff66cd2909fbdf48235 (patch)
tree6272fa4de4e4be436771ef1aa186c12c84b0087b /libavformat/rtsp.c
parenteb857782e70dc467d39339b9375516dd904c3915 (diff)
Rename type to be consistent
Originally committed as revision 16090 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index e73a173bb0..df1ed8c7ab 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -283,17 +283,16 @@ static void sdp_parse_fmtp_config(AVCodecContext *codec, char *attr, char *value
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)},