Browse Source

add rtp_clear_marker

master
Christophe Massiot 10 years ago
parent
commit
b9aa64124c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      ietf/rtp.h

+ 5
- 0
ietf/rtp.h View File

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

Loading…
Cancel
Save