mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
修复rtp padding相关bug:#722
This commit is contained in:
parent
3298184c5c
commit
39229f9e39
@ -474,7 +474,7 @@ size_t RtpHeader::getPaddingSize(size_t rtp_size) const {
|
||||
if (!padding) {
|
||||
return 0;
|
||||
}
|
||||
auto end = (uint8_t *) this + rtp_size;
|
||||
auto end = (uint8_t *) this + rtp_size - 1;
|
||||
return *end;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user