This website works better with JavaScript.
Home
Explore
Help
Sign In
shenmc
/
bitstream
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
add rtp_clear_marker
master
Christophe Massiot
10 years ago
parent
30fdea3747
commit
b9aa64124c
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
;
Write
Preview
Loading…
Cancel
Save