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

Unified Diff: webrtc/test/rtp_file_writer.cc

Issue 1297653002: Tool to convert RtcEventLog files to RtpDump format. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Inverted the command line flags and fixed bug when converting RTCP packets. Created 5 years, 3 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 | « no previous file | webrtc/video/rtc_event_log2rtp_dump.cc » ('j') | webrtc/video/rtc_event_log2rtp_dump.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/rtp_file_writer.cc
diff --git a/webrtc/test/rtp_file_writer.cc b/webrtc/test/rtp_file_writer.cc
index 4acaa27815d325342681dfa1091049132b2d9111..d1761b157468b9faf797331e04b84044adbd042e 100644
--- a/webrtc/test/rtp_file_writer.cc
+++ b/webrtc/test/rtp_file_writer.cc
@@ -40,7 +40,6 @@ class RtpDumpWriter : public RtpFileWriter {
bool WritePacket(const RtpPacket* packet) override {
uint16_t len = static_cast<uint16_t>(packet->length + kPacketHeaderSize);
- CHECK_GE(packet->original_length, packet->length);
uint16_t plen = static_cast<uint16_t>(packet->original_length);
uint32_t offset = packet->time_ms;
CHECK(WriteUint16(len));
« no previous file with comments | « no previous file | webrtc/video/rtc_event_log2rtp_dump.cc » ('j') | webrtc/video/rtc_event_log2rtp_dump.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698