[bTSstream-devel] [Git][videolan/bitstream][master] 3 commits: rtp: do not clobber marker bit when setting payload type

Christophe Massiot (@cmassiot) gitlab at videolan.org
Sun Aug 6 16:29:48 UTC 2023



Christophe Massiot pushed to branch master at VideoLAN / bitstream


Commits:
44646db1 by James Darnley at 2022-10-03T16:23:22+02:00
rtp: do not clobber marker bit when setting payload type

- - - - -
f9afb23f by Clément Vasseur at 2023-08-06T18:29:11+02:00
h265: fix hvcc min_spatial_segmentation_idc size

- - - - -
6fde29f0 by Christophe Massiot at 2023-08-06T18:29:34+02:00
Merge branch 'JDarnley-master'

- - - - -


1 changed file:

- ietf/rtp.h


Changes:

=====================================
ietf/rtp.h
=====================================
@@ -120,7 +120,7 @@ static inline bool rtp_check_marker(const uint8_t *p_rtp)
 
 static inline void rtp_set_type(uint8_t *p_rtp, uint8_t i_type)
 {
-    p_rtp[1] = i_type & 0x7f;
+    p_rtp[1] = (p_rtp[1] & 0x80) | (i_type & 0x7f);
 }
 
 static inline uint8_t rtp_get_type(const uint8_t *p_rtp)



View it on GitLab: https://code.videolan.org/videolan/bitstream/-/compare/248b3f7507c512918de14bbb070da829c0dbab4d...6fde29f03561f29ef57f283b3f1527ded213e5c7

-- 
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/compare/248b3f7507c512918de14bbb070da829c0dbab4d...6fde29f03561f29ef57f283b3f1527ded213e5c7
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the biTStream-devel mailing list