Index: webrtc/modules/audio_coding/neteq/neteq_impl.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.cc b/webrtc/modules/audio_coding/neteq/neteq_impl.cc |
index d62d44f2b4a08dd8635d3c0ffc105f75c6cc023e..014bd044ddeb9f5fc051664261ca5c767cf7f27c 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl.cc |
@@ -632,21 +632,6 @@ int NetEqImpl::InsertPacketInternal(const WebRtcRTPHeader& rtp_header, |
} |
} |
- // Split payloads into smaller chunks. This also verifies that all payloads |
- // are of a known payload type. |
- ret = payload_splitter_->SplitAudio(&packet_list, *decoder_database_); |
- if (ret != PayloadSplitter::kOK) { |
- PacketBuffer::DeleteAllPackets(&packet_list); |
- switch (ret) { |
- case PayloadSplitter::kUnknownPayloadType: |
- return kUnknownRtpPayloadType; |
- case PayloadSplitter::kFrameSplitError: |
- return kFrameSplitError; |
- default: |
- return kOtherError; |
- } |
- } |
- |
// Update bandwidth estimate, if the packet is not comfort noise. |
if (!packet_list.empty() && |
!decoder_database_->IsComfortNoise(main_header.payloadType)) { |
@@ -684,7 +669,7 @@ int NetEqImpl::InsertPacketInternal(const WebRtcRTPHeader& rtp_header, |
const RTPHeader& original_header = packet->header; |
for (auto& result : results) { |
RTC_DCHECK(result.frame); |
- // Reuse the packet if possible |
+ // Reuse the packet if possible. |
if (!packet) { |
packet.reset(new Packet); |
packet->header = original_header; |