From b9aa64124cd89a0175f4111aa2ce0d1d258b1bb6 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Sat, 9 Aug 2014 16:05:06 +0200 Subject: [PATCH] add rtp_clear_marker --- ietf/rtp.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ietf/rtp.h b/ietf/rtp.h index 213c67b..a8a03f6 100644 --- a/ietf/rtp.h +++ b/ietf/rtp.h @@ -97,6 +97,11 @@ static inline void rtp_set_marker(uint8_t *p_rtp) p_rtp[1] |= 0x80; } +static inline void rtp_clear_marker(uint8_t *p_rtp) +{ + p_rtp[1] &= ~0x80; +} + static inline bool rtp_check_marker(const uint8_t *p_rtp) { return !!(p_rtp[1] & 0x80);