From b8425bc4f398cb1e744c5f60677f1b5cae4ade81 Mon Sep 17 00:00:00 2001 From: "kwiberg@webrtc.org" Date: Tue, 4 Nov 2014 22:10:18 +0000 Subject: [PATCH] Don't use DCHECK when you need the side effects... R=pbos@webrtc.org TBR=henrik.lundin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/32369004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7625 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc b/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc index 4fcae0540..eb0782344 100644 --- a/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc +++ b/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc @@ -450,7 +450,7 @@ bool AudioDecoderOpus::PacketHasFec(const uint8_t* encoded, #endif AudioDecoderCng::AudioDecoderCng() { - DCHECK_EQ(0, WebRtcCng_CreateDec(&dec_state_)); + CHECK_EQ(0, WebRtcCng_CreateDec(&dec_state_)); } AudioDecoderCng::~AudioDecoderCng() {