Revert "Add DCHECK to ensure that NetEq's packet buffer is not empty"
This reverts r7719. It failed to compile in Chromium. TBR=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30179004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7720 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include "webrtc/base/checks.h"
|
|
||||||
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
|
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
|
||||||
#include "webrtc/modules/audio_coding/neteq/accelerate.h"
|
#include "webrtc/modules/audio_coding/neteq/accelerate.h"
|
||||||
#include "webrtc/modules/audio_coding/neteq/background_noise.h"
|
#include "webrtc/modules/audio_coding/neteq/background_noise.h"
|
||||||
@@ -608,8 +607,6 @@ int NetEqImpl::InsertPacketInternal(const WebRtcRTPHeader& rtp_header,
|
|||||||
new_codec_ = true;
|
new_codec_ = true;
|
||||||
update_sample_rate_and_channels = true;
|
update_sample_rate_and_channels = true;
|
||||||
LOG_F(LS_WARNING) << "Packet buffer flushed";
|
LOG_F(LS_WARNING) << "Packet buffer flushed";
|
||||||
DCHECK(!packet_buffer_->Empty())
|
|
||||||
<< "One packet must have been inserted after the flush.";
|
|
||||||
} else if (ret != PacketBuffer::kOK) {
|
} else if (ret != PacketBuffer::kOK) {
|
||||||
LOG_FERR1(LS_WARNING, InsertPacketList, packet_list.size());
|
LOG_FERR1(LS_WARNING, InsertPacketList, packet_list.size());
|
||||||
PacketBuffer::DeleteAllPackets(&packet_list);
|
PacketBuffer::DeleteAllPackets(&packet_list);
|
||||||
|
|||||||
Reference in New Issue
Block a user