Browse Source

rtcp_get_rc: missing const

master
Rafaël Carré 6 years ago
parent
commit
de9a0fe607
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ietf/rtcp.h

+ 1
- 1
ietf/rtcp.h View File

@ -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;
}

Loading…
Cancel
Save