Skip to content

Commit

Permalink
Fix some typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aggresss committed Dec 27, 2024
1 parent 39281d9 commit 2faeda5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion worker/include/RTC/RTCP/XR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace RTC
CommonHeader* header{ nullptr };

private:
uint8_t raw[Packet::CommonHeaderSize] = { 0 };
uint8_t raw[CommonHeaderSize] = { 0 };
};

class ExtendedReportPacket : public Packet
Expand Down
4 changes: 2 additions & 2 deletions worker/src/RTC/RTCP/XrDelaySinceLastRr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ namespace RTC
{
MS_TRACE();

const size_t length = static_cast<uint16_t>((SsrcInfo::BodySize * this->ssrcInfos.size() / 4));
const size_t length = static_cast<uint16_t>(SsrcInfo::BodySize * this->ssrcInfos.size() / 4);

// Fill the common header.
this->header->blockType = static_cast<uint8_t>(this->type);
Expand Down Expand Up @@ -121,7 +121,7 @@ namespace RTC
MS_DUMP(" reserved: 0");
MS_DUMP(
" length: %" PRIu16,
static_cast<uint16_t>((SsrcInfo::BodySize * this->ssrcInfos.size() / 4)));
static_cast<uint16_t>(SsrcInfo::BodySize * this->ssrcInfos.size() / 4));
for (auto* ssrcInfo : this->ssrcInfos)
{
ssrcInfo->Dump();
Expand Down

0 comments on commit 2faeda5

Please sign in to comment.