From 07b5950c12dbc39993ddcc9b7da890054bedff9f Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Wed, 12 Feb 2014 16:41:13 +0000 Subject: [PATCH] Initialize key_pressed_. Was resulting in an error on Mac Asan: [ RUN ] ApmTest.DebugDump [libprotobuf FATAL ../../third_party/protobuf/src/google/protobuf/message_lite.cc:224] CHECK failed: !coded_out.HadError(): TBR=aluebs Review URL: https://webrtc-codereview.appspot.com/8539004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5536 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_processing/audio_processing_impl.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc index 77f494f436..3ca90a76dd 100644 --- a/webrtc/modules/audio_processing/audio_processing_impl.cc +++ b/webrtc/modules/audio_processing/audio_processing_impl.cc @@ -97,7 +97,8 @@ AudioProcessingImpl::AudioProcessingImpl(const Config& config) was_stream_delay_set_(false), num_reverse_channels_(1), num_input_channels_(1), - num_output_channels_(1) { + num_output_channels_(1), + key_pressed_(false) { echo_cancellation_ = EchoCancellationImplWrapper::Create(this); component_list_.push_back(echo_cancellation_);