| 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());
|
|
|