From 2994f7ff41479ca2ea1026eff97c020d3b7bd964 Mon Sep 17 00:00:00 2001 From: Alec L Davis Date: Sun, 26 Aug 2012 23:07:57 +0000 Subject: [PATCH] mf_detect: incorrectly used DTMF_GSIZE instead of MF_GSIZE ........ Merged revisions 371662 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 371663 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@371664 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/dsp.c b/main/dsp.c index 33db5055f7..4ad76f1521 100644 --- a/main/dsp.c +++ b/main/dsp.c @@ -918,7 +918,7 @@ static int mf_detect(struct ast_dsp *dsp, digit_detect_state_t *s, int16_t amp[] mute_fragment(dsp, &mute); mute.start = (sample > MF_GSIZE) ? (sample - MF_GSIZE) : 0; } - mute.end = limit + DTMF_GSIZE; + mute.end = limit + MF_GSIZE; } /* Reinitialise the detector for the next block */