1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Fix build warning

This commit is contained in:
winlin 2021-12-26 18:16:10 +08:00
parent 13103ec7d5
commit d2fe83b032

View file

@ -1010,7 +1010,7 @@ srs_error_t SrsRtcpTWCC::process_pkt_chunk(SrsRtcpTWCC::SrsRtcpTWCCChunk& chunk,
size_t needed_chunk_size = chunk.size == 0 ? kTwccFbChunkBytes : 0;
size_t might_occupied = pkt_len + needed_chunk_size + delta_size;
if (might_occupied > kRtcpPacketSize) {
if (might_occupied > (size_t)kRtcpPacketSize) {
return srs_error_new(ERROR_RTC_RTCP, "might_occupied %zu", might_occupied);
}