RTC: 修复TWCC feedback rtcp解析status chunk错误的问题

This commit is contained in:
于吉太 2023-11-30 20:28:22 +08:00
parent 644a333ec3
commit 57395d8c99
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ FCI_TWCC::TwccPacketStatus FCI_TWCC::getPacketChunkList(size_t total_size) const
CHECK(ptr < end);
auto seq = getBaseSeq();
auto rtp_count = getPacketCount();
for (uint8_t i = 0; i < rtp_count;) {
for (uint16_t i = 0; i < rtp_count;) {
CHECK(ptr + RunLengthChunk::kSize <= end);
RunLengthChunk *chunk = (RunLengthChunk *)ptr;
if (!chunk->type) {