diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index 4056a3ea0..832a880d5 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -3335,7 +3335,7 @@ static const char *call_block_silence_media(bencode_item_t *input, bool on_off, /* now check if any sink ml media is susbcribed to any of monologue medias */ for (int i = 0; i < sink_ml->medias->len; i++) { - struct call_media * sink_md = monologue->medias->pdata[i]; + struct call_media * sink_md = sink_ml->medias->pdata[i]; if (!sink_md) continue; for (int j = 0; j < monologue->medias->len; j++)