Revision 644e7acb

View differences:

libavformat/rtsp.c
283 283
    return;
284 284
}
285 285

  
286
typedef struct attrname_map
287
{
286
typedef struct {
288 287
    const char *str;
289 288
    uint16_t type;
290 289
    uint32_t offset;
291
} attrname_map_t;
290
} AttrNameMap;
292 291

  
293 292
/* All known fmtp parmeters and the corresping RTPAttrTypeEnum */
294 293
#define ATTR_NAME_TYPE_INT 0
295 294
#define ATTR_NAME_TYPE_STR 1
296
static const attrname_map_t attr_names[]=
295
static const AttrNameMap attr_names[]=
297 296
{
298 297
    {"SizeLength",       ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, sizelength)},
299 298
    {"IndexLength",      ATTR_NAME_TYPE_INT, offsetof(rtp_payload_data_t, indexlength)},

Also available in: Unified diff