From aa0bbab8ec359f50dc7d6a468d3a8bac01b39fc8 Mon Sep 17 00:00:00 2001 From: "jmarusic@webrtc.org" Date: Mon, 23 Mar 2015 11:42:45 +0000 Subject: [PATCH] Fix build failure There was a build failure due to including checks.h. Removed the include. TBR=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/48639004 Cr-Commit-Position: refs/heads/master@{#8825} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8825 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_coding/main/acm2/acm_receiver.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc b/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc index 64a2f518a..62b5ecb6f 100644 --- a/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc +++ b/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc @@ -15,7 +15,6 @@ #include // sort #include -#include "webrtc/base/checks.h" #include "webrtc/base/format_macros.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" #include "webrtc/common_types.h" @@ -480,7 +479,7 @@ int32_t AcmReceiver::AddCodec(int acm_codec_id, uint8_t payload_type, int channels, AudioDecoder* audio_decoder) { - CHECK_GE(acm_codec_id, 0); + assert(acm_codec_id >= 0); NetEqDecoder neteq_decoder = ACMCodecDB::neteq_decoders_[acm_codec_id]; // Make sure the right decoder is registered for Opus. @@ -626,7 +625,7 @@ int AcmReceiver::LastAudioCodec(CodecInst* codec) const { return -1; } auto it = decoders_.find(last_audio_decoder_); - CHECK(it != decoders_.end()); + assert(it != decoders_.end()); memcpy(codec, &ACMCodecDB::database_[last_audio_decoder_], sizeof(CodecInst)); codec->pltype = it->second.payload_type; codec->channels = it->second.channels;