diff --git a/webrtc/modules/video_coding/main/test/rtp_file_reader.cc b/webrtc/modules/video_coding/main/test/rtp_file_reader.cc index 2ab5460cb..447eb9bea 100644 --- a/webrtc/modules/video_coding/main/test/rtp_file_reader.cc +++ b/webrtc/modules/video_coding/main/test/rtp_file_reader.cc @@ -103,11 +103,10 @@ class RtpFileReaderImpl : public RtpPacketSourceInterface { } virtual int NextPacket(uint8_t* rtp_data, uint32_t* length, - uint32_t* time_ms, uint32_t* original_length) { + uint32_t* time_ms) { assert(rtp_data); assert(length); assert(time_ms); - assert(original_length); uint16_t len; uint16_t plen; @@ -127,7 +126,6 @@ class RtpFileReaderImpl : public RtpPacketSourceInterface { *length = len; *time_ms = offset; - *original_length = plen; return kResultSuccess; } diff --git a/webrtc/modules/video_coding/main/test/rtp_player.h b/webrtc/modules/video_coding/main/test/rtp_player.h index c945b5cab..24e62b63c 100644 --- a/webrtc/modules/video_coding/main/test/rtp_player.h +++ b/webrtc/modules/video_coding/main/test/rtp_player.h @@ -53,10 +53,9 @@ class RtpPacketSourceInterface { // Read next RTP packet into buffer pointed to by rtp_data. On call, 'length' // field must be filled in with the size of the buffer. The actual size of // the packet is available in 'length' upon returning. Time in milliseconds - // from start of stream is returned in 'time_ms'. The original full length - // of the packet is returned in 'original_length'. + // from start of stream is returned in 'time_ms'. virtual int NextPacket(uint8_t* rtp_data, uint32_t* length, - uint32_t* time_ms, uint32_t* original_length) = 0; + uint32_t* time_ms) = 0; }; // Implemented by RtpPlayer and given to client as a means to retrieve