Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc

Issue 2937403002: Style fixes in rtcp_packet/ (Closed)
Patch Set: CR response Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h ('k') | webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc
index 956b16f784ad75108c051a191a28e8740c234afe..a51764f04bd3896707bb624b99d3c5f22b4797cd 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc
@@ -75,6 +75,11 @@ bool Nack::Parse(const CommonHeader& packet) {
return true;
}
+size_t Nack::BlockLength() const {
+ return kHeaderLength + kCommonFeedbackLength +
+ packed_.size() * kNackItemLength;
+}
+
bool Nack::Create(uint8_t* packet,
size_t* index,
size_t max_length,
@@ -116,11 +121,6 @@ bool Nack::Create(uint8_t* packet,
return true;
}
-size_t Nack::BlockLength() const {
- return kHeaderLength + kCommonFeedbackLength +
- packed_.size() * kNackItemLength;
-}
-
void Nack::SetPacketIds(const uint16_t* nack_list, size_t length) {
RTC_DCHECK(nack_list);
RTC_DCHECK(packet_ids_.empty());
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h ('k') | webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698