Commit 644e7acb authored by Luca Barbato's avatar Luca Barbato

Rename type to be consistent

Originally committed as revision 16090 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent eb857782
...@@ -283,17 +283,16 @@ static void sdp_parse_fmtp_config(AVCodecContext *codec, char *attr, char *value ...@@ -283,17 +283,16 @@ static void sdp_parse_fmtp_config(AVCodecContext *codec, char *attr, char *value
return; return;
} }
typedef struct attrname_map typedef struct {
{
const char *str; const char *str;
uint16_t type; uint16_t type;
uint32_t offset; uint32_t offset;
} attrname_map_t; } AttrNameMap;
/* All known fmtp parmeters and the corresping RTPAttrTypeEnum */ /* All known fmtp parmeters and the corresping RTPAttrTypeEnum */
#define ATTR_NAME_TYPE_INT 0 #define ATTR_NAME_TYPE_INT 0
#define ATTR_NAME_TYPE_STR 1 #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)}, {"SizeLength", ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, sizelength)},
{"IndexLength", ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, indexlength)}, {"IndexLength", ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, indexlength)},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment