[bTSstream-devel] add rtp_clear_marker

Christophe Massiot git at videolan.org
Sat Aug 9 16:05:17 CEST 2014


bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Sat Aug  9 16:05:06 2014 +0200| [b9aa64124cd89a0175f4111aa2ce0d1d258b1bb6] | committer: Christophe Massiot

add rtp_clear_marker

> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=b9aa64124cd89a0175f4111aa2ce0d1d258b1bb6
---

 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);



More information about the biTStream-devel mailing list