From 8a232f65dd387e132b70425a28512c7aa38e6bf2 Mon Sep 17 00:00:00 2001 From: "niklas.enbom@webrtc.org" Date: Wed, 5 Nov 2014 00:43:59 +0000 Subject: [PATCH] Revert 7625 "Don't use DCHECK when you need the side effects..." Reverting since 7623 might depend on this one > 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 TBR=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25089004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7628 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 eb0782344..4fcae0540 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() { - CHECK_EQ(0, WebRtcCng_CreateDec(&dec_state_)); + DCHECK_EQ(0, WebRtcCng_CreateDec(&dec_state_)); } AudioDecoderCng::~AudioDecoderCng() {