From d55de7831d412638923b4c23f526a535652351e1 Mon Sep 17 00:00:00 2001 From: Alec L Davis Date: Sun, 26 Aug 2012 23:03:51 +0000 Subject: [PATCH] mf_detect: incorrectly used DTMF_GSIZE instead of MF_GSIZE git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@371662 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 8a52e6ff43..44c483f5bd 100644 --- a/main/dsp.c +++ b/main/dsp.c @@ -920,7 +920,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 */