30 const char *
name,
size_t *restrict lenp)
33 size_t namelen = strlen(
name);
40 *lenp = strcspn(
p,
";");
54 unsigned long long *restrict res)
64 unsigned long long ull = strtoull(n, &end, 10);
74 uint16_t *restrict res)
76 unsigned long long ull;
89 uint8_t *restrict res)
91 unsigned long long ull;
102#define vlc_sdp_fmtp_get(desc, name, vp) \
104 uint16_t: vlc_sdp_fmtp_get_u16(desc, name, (uint16_t *)(vp)), \
105 uint8_t: vlc_sdp_fmtp_get_u8(desc, name, (uint8_t *)(vp)))
static int vlc_sdp_fmtp_get_u16(const struct vlc_sdp_pt *desc, const char *name, uint16_t *restrict res)
Definition fmtp.h:73
static int vlc_sdp_fmtp_get_u8(const struct vlc_sdp_pt *desc, const char *name, uint8_t *restrict res)
Definition fmtp.h:88
static int vlc_sdp_fmtp_get_ull(const struct vlc_sdp_pt *desc, const char *name, unsigned long long *restrict res)
Definition fmtp.h:53
static const char * vlc_sdp_fmtp_get_str(const struct vlc_sdp_pt *desc, const char *name, size_t *restrict lenp)
Definition fmtp.h:29
static int vlc_ascii_strncasecmp(const char *psz1, const char *psz2, size_t n)
Definition vlc_strings.h:75
const char name[16]
Definition httpd.c:1298
Payload type mapping.
Definition rtp.h:62
const char * parameters
Format parameters from the a=fmtp line.
Definition rtp.h:67