From: Sean Bright Date: Tue, 8 Sep 2009 22:17:08 +0000 (+0000) Subject: Fix compilation of app_meetme. X-Git-Tag: 11.0.0-beta1~4207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=245b163755057ee496864c23bb937bbbc0249778;p=thirdparty%2Fasterisk.git Fix compilation of app_meetme. Reported by ebroad in #asterisk-bugs git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217286 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 6027e1d24c..b482217a5a 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -3275,7 +3275,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c if ((conf->transframe[idx]->frametype != AST_FRAME_NULL) && can_write(chan, confflags)) { struct ast_frame *cur; - if (musiconhold && !ast_dsp_silence(dsp, conf->transframe[index], &confsilence) && confsilence < MEETME_DELAYDETECTTALK) { + if (musiconhold && !ast_dsp_silence(dsp, conf->transframe[idx], &confsilence) && confsilence < MEETME_DELAYDETECTTALK) { ast_moh_stop(chan); mohtempstopped = 1; }