mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix priority of '<<' and '+'
This commit is contained in:
@@ -19,7 +19,7 @@ RtcpHeader::RtcpHeader(const uint8_t* buffer, uint32_t size) {
|
|||||||
padding_ = buffer[0] >> 5 & 0x01;
|
padding_ = buffer[0] >> 5 & 0x01;
|
||||||
count_or_format_ = buffer[0] & 0x1F;
|
count_or_format_ = buffer[0] & 0x1F;
|
||||||
payload_type_ = PAYLOAD_TYPE(buffer[1]);
|
payload_type_ = PAYLOAD_TYPE(buffer[1]);
|
||||||
length_ = buffer[2] << 8 + buffer[3];
|
length_ = (buffer[2] << 8) + buffer[3];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user