diff --git a/src/modules/audio_processing/aecm/echo_control_mobile.c b/src/modules/audio_processing/aecm/echo_control_mobile.c index cc25671893..4c5edc704b 100644 --- a/src/modules/audio_processing/aecm/echo_control_mobile.c +++ b/src/modules/audio_processing/aecm/echo_control_mobile.c @@ -337,10 +337,10 @@ WebRtc_Word32 WebRtcAecm_Process(void *aecmInst, const WebRtc_Word16 *nearendNoi if (aecm->ECstartup) { - if ((nearendClean == NULL) && (nearendNoisy != out)) + if (nearendClean == NULL) { memcpy(out, nearendNoisy, sizeof(short) * nrOfSamples); - } else if (nearendClean != out) + } else { memcpy(out, nearendClean, sizeof(short) * nrOfSamples); }