mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
Fix compile warnings
This commit is contained in:
parent
82bc416546
commit
ce16a0a9b6
@ -551,7 +551,7 @@ const void *RtcpFB::getFciPtr() const {
|
|||||||
|
|
||||||
size_t RtcpFB::getFciSize() const {
|
size_t RtcpFB::getFciSize() const {
|
||||||
auto fci_len = (ssize_t)getSize() - getPaddingSize() - sizeof(RtcpFB);
|
auto fci_len = (ssize_t)getSize() - getPaddingSize() - sizeof(RtcpFB);
|
||||||
CHECK(fci_len >= 0);
|
CHECK(getSize() >= getPaddingSize() + sizeof(RtcpFB));
|
||||||
return fci_len;
|
return fci_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user