mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-12-09 04:40:38 +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) {
|
if (!padding) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
auto end = (uint8_t *) this + rtp_size;
|
auto end = (uint8_t *) this + rtp_size - 1;
|
||||||
return *end;
|
return *end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user