Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc |
index 8f90ce6bdd432895d9ccceacab336daa9115c478..4795bf16e597c5a87c52586a5298d4c70ef662b6 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc |
@@ -68,7 +68,7 @@ bool SenderReport::Parse(const CommonHeader& packet) { |
next_block += ReportBlock::kLength; |
} |
// Double check we didn't read beyond provided buffer. |
- RTC_DCHECK_EQ(next_block - payload, |
+ RTC_DCHECK_LE(next_block - payload, |
static_cast<ptrdiff_t>(packet.payload_size_bytes())); |
return true; |
} |