From de9a0fe6074db013c1445fcddc93b0c4f024215d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Wed, 21 Nov 2018 15:32:30 +0100 Subject: [PATCH] rtcp_get_rc: missing const --- ietf/rtcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/rtcp.h b/ietf/rtcp.h index c7ae891..e6837a9 100644 --- a/ietf/rtcp.h +++ b/ietf/rtcp.h @@ -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; }