diff --git a/src/voice_engine/main/source/channel.cc b/src/voice_engine/main/source/channel.cc index 37ad145c17..cd76607b4c 100644 --- a/src/voice_engine/main/source/channel.cc +++ b/src/voice_engine/main/source/channel.cc @@ -3889,8 +3889,8 @@ int Channel::StartRecordingPlayout(const char* fileName, const WebRtc_UWord32 notificationTime(0); // Not supported in VoE CodecInst dummyCodec={100,"L16",16000,320,1,320000}; - if (codecInst != NULL && - (codecInst->channels < 1) || (codecInst->channels > 2)) + if ((codecInst != NULL) && + ((codecInst->channels < 1) || (codecInst->channels > 2))) { _engineStatisticsPtr->SetLastError( VE_BAD_ARGUMENT, kTraceError, diff --git a/src/voice_engine/main/source/output_mixer.cc b/src/voice_engine/main/source/output_mixer.cc index a2841b2305..f00a0d15cc 100644 --- a/src/voice_engine/main/source/output_mixer.cc +++ b/src/voice_engine/main/source/output_mixer.cc @@ -342,8 +342,8 @@ int OutputMixer::StartRecordingPlayout(const char* fileName, const WebRtc_UWord32 notificationTime(0); CodecInst dummyCodec={100,"L16",16000,320,1,320000}; - if (codecInst != NULL && - (codecInst->channels < 1) || (codecInst->channels > 2)) + if ((codecInst != NULL) && + ((codecInst->channels < 1) || (codecInst->channels > 2))) { _engineStatisticsPtr->SetLastError( VE_BAD_ARGUMENT, kTraceError,