diff --git a/modules/rtp_rtcp/source/byte_io.h b/modules/rtp_rtcp/source/byte_io.h index a98eb3073b..ae70202c30 100644 --- a/modules/rtp_rtcp/source/byte_io.h +++ b/modules/rtp_rtcp/source/byte_io.h @@ -31,7 +31,7 @@ // Write an unsigned 40-bit (5 byte) integer in big endian format // ByteWriter::WriteBigEndian(buffer, val); // -// These classes are implemented as recursive templetizations, inteded to make +// These classes are implemented as recursive templetizations, intended to make // it easy for the compiler to completely inline the reading/writing. #include diff --git a/modules/rtp_rtcp/source/flexfec_03_header_reader_writer.cc b/modules/rtp_rtcp/source/flexfec_03_header_reader_writer.cc index cf4dc3e58e..85f6d2c754 100644 --- a/modules/rtp_rtcp/source/flexfec_03_header_reader_writer.cc +++ b/modules/rtp_rtcp/source/flexfec_03_header_reader_writer.cc @@ -179,9 +179,9 @@ bool Flexfec03HeaderReader::ReadFecHeader( } // At this point, K-bits 0 and 1 have been removed, and the front-most // part of the FlexFEC packet mask has been packed accordingly. We will - // now shift the remaning part of the packet mask three steps to the left. - // This corresponds to the (in total) three K-bits, which have been - // removed. + // now shift the remaining part of the packet mask three steps to + // the left. This corresponds to the (in total) three K-bits, which + // have been removed. uint8_t tail_bits = (packet_mask[6] >> 5) & 0x03; packet_mask[5] |= tail_bits; uint64_t mask_part2 = diff --git a/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc b/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc index 79509f34c6..cfca7cb066 100644 --- a/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc +++ b/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc @@ -179,9 +179,9 @@ bool FlexfecHeaderReader::ReadFecHeader( kFlexfecPacketMaskSizes[2]; // At this point, K-bits 0 and 1 have been removed, and the front-most // part of the FlexFEC packet mask has been packed accordingly. We will - // now shift the remaning part of the packet mask two steps to the left. - // This corresponds to the (in total) two K-bits, which have been - // removed. + // now shift the remaining part of the packet mask two steps to + // the left. This corresponds to the (in total) two K-bits, which + // have been removed. uint8_t tail_bits = (data[byte_index] >> 6) & 0x03; data[byte_index - 1] |= tail_bits; uint64_t mask_part2 = diff --git a/modules/rtp_rtcp/source/forward_error_correction_internal.cc b/modules/rtp_rtcp/source/forward_error_correction_internal.cc index ac68162d26..a10f2e6a21 100644 --- a/modules/rtp_rtcp/source/forward_error_correction_internal.cc +++ b/modules/rtp_rtcp/source/forward_error_correction_internal.cc @@ -163,7 +163,7 @@ rtc::ArrayView PacketMaskTable::LookUp(int num_media_packets, // Generate FEC code mask for {num_media_packets(M), num_fec_packets(N)} (use // N FEC packets to protect M media packets) In the mask, each FEC packet - // occupies one row, each bit / coloumn represent one media packet. E.g. Row + // occupies one row, each bit / column represent one media packet. E.g. Row // A, Col/Bit B is set to 1, means FEC packet A will have protection for media // packet B. diff --git a/modules/rtp_rtcp/source/receive_statistics_impl.cc b/modules/rtp_rtcp/source/receive_statistics_impl.cc index 6fe2000acd..5ae5d2d8c5 100644 --- a/modules/rtp_rtcp/source/receive_statistics_impl.cc +++ b/modules/rtp_rtcp/source/receive_statistics_impl.cc @@ -260,7 +260,7 @@ void StreamStatisticianImpl::MaybeAppendReportBlockAndReset( int packets_lost = cumulative_loss_ + cumulative_loss_rtcp_offset_; if (packets_lost < 0) { - // Clamp to zero. Work around to accomodate for senders that misbehave with + // Clamp to zero. Work around to accommodate for senders that misbehave with // negative cumulative loss. packets_lost = 0; cumulative_loss_rtcp_offset_ = -cumulative_loss_;