| Index: webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc b/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc
|
| index 8d8147cd63820a21a00b9e732542394985b53cec..ff64e49cafa482b4882d6c8f84e662b4a821165d 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc
|
| @@ -13,6 +13,7 @@
|
| #include <assert.h>
|
| #include <string.h>
|
|
|
| +#include "webrtc/base/checks.h"
|
| #include "webrtc/modules/rtp_rtcp/interface/rtp_cvo.h"
|
| #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtp_format.h"
|
| @@ -60,6 +61,7 @@ int32_t RTPReceiverVideo::ParseRtpPacket(WebRtcRTPHeader* rtp_header,
|
| rtp_header->header.timestamp);
|
| rtp_header->type.Video.codec = specific_payload.Video.videoCodecType;
|
|
|
| + DCHECK_GE(payload_length, rtp_header->header.paddingLength);
|
| const size_t payload_data_length =
|
| payload_length - rtp_header->header.paddingLength;
|
|
|
|
|