| Index: webrtc/test/rtp_file_writer.cc
|
| diff --git a/webrtc/test/rtp_file_writer.cc b/webrtc/test/rtp_file_writer.cc
|
| index d9e058646814a0dc80b75b8af0159521f20ab167..793e51a55eea95553dd54e09a096e115eddfcd31 100644
|
| --- a/webrtc/test/rtp_file_writer.cc
|
| +++ b/webrtc/test/rtp_file_writer.cc
|
| @@ -40,6 +40,7 @@
|
|
|
| bool WritePacket(const RtpPacket* packet) override {
|
| uint16_t len = static_cast<uint16_t>(packet->length + kPacketHeaderSize);
|
| + RTC_CHECK_GE(packet->original_length, packet->length);
|
| uint16_t plen = static_cast<uint16_t>(packet->original_length);
|
| uint32_t offset = packet->time_ms;
|
| RTC_CHECK(WriteUint16(len));
|
|
|