diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 60587b50b..440e119a9 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -5105,8 +5105,8 @@ void linphone_core_enable_mic(LinphoneCore *lc, bool_t enable) { for (elem = list; elem != NULL; elem = elem->next) { call = (LinphoneCall *)elem->data; call->audio_muted = !enable; - if (call->audiostream) - linphone_core_mute_audio_stream(lc, call->audiostream, enable); + if (call->audiostream) + linphone_core_mute_audio_stream(lc, call->audiostream, enable); } }