Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
rtcp_get_rc: missing const
· de9a0fe6
Rafaël Carré
authored
Nov 21, 2018
de9a0fe6
Merge branch 'funman-const'
· 6cd871dc
Christophe Massiot
authored
Nov 23, 2018
6cd871dc
Hide whitespace changes
Inline
Side-by-side
ietf/rtcp.h
View file @
6cd871dc
...
...
@@ -35,7 +35,7 @@ static inline void rtcp_set_rtp_version(uint8_t *p_rtcp)
p_rtcp
[
0
]
=
RTCP_RTP_VERSION
<<
6
;
}
static
inline
uint8_t
rtcp_get_rc
(
uint8_t
*
p_rtcp
)
static
inline
uint8_t
rtcp_get_rc
(
const
uint8_t
*
p_rtcp
)
{
return
p_rtcp
[
0
]
&
0x1f
;
}
...
...