Index: webrtc/modules/audio_coding/main/acm2/codec_owner.cc |
diff --git a/webrtc/modules/audio_coding/main/acm2/codec_owner.cc b/webrtc/modules/audio_coding/main/acm2/codec_owner.cc |
index e2c4548c8ed61b105716edcc1d3d4cd2600fb2f7..c07ecec850f1359954b6e7063918f74b24c2364a 100644 |
--- a/webrtc/modules/audio_coding/main/acm2/codec_owner.cc |
+++ b/webrtc/modules/audio_coding/main/acm2/codec_owner.cc |
@@ -202,7 +202,7 @@ void CodecOwner::ChangeCngAndRed(int cng_payload_type, |
AudioEncoder* encoder = |
CreateRedEncoder(red_payload_type, speech_encoder, &red_encoder_); |
CreateCngEncoder(cng_payload_type, vad_mode, encoder, &cng_encoder_); |
- DCHECK_EQ(!!speech_encoder_ + !!external_speech_encoder_, 1); |
+ RTC_DCHECK_EQ(!!speech_encoder_ + !!external_speech_encoder_, 1); |
} |
AudioDecoder* CodecOwner::GetIsacDecoder() { |
@@ -230,7 +230,7 @@ AudioEncoder* CodecOwner::SpeechEncoder() { |
} |
const AudioEncoder* CodecOwner::SpeechEncoder() const { |
- DCHECK(!speech_encoder_ || !external_speech_encoder_); |
+ RTC_DCHECK(!speech_encoder_ || !external_speech_encoder_); |
return external_speech_encoder_ ? external_speech_encoder_ |
: speech_encoder_.get(); |
} |