summaryrefslogtreecommitdiff
path: root/main/dsp.c
diff options
context:
space:
mode:
authorAlec L Davis <sivad.a@paradise.net.nz>2012-08-26 23:10:30 +0000
committerAlec L Davis <sivad.a@paradise.net.nz>2012-08-26 23:10:30 +0000
commit1295d551f9eee39875216da64c093beced670de7 (patch)
tree2c48e569460f77bf72aacb132368f879bd666381 /main/dsp.c
parent96de9ecf3028213a7da0f594aa136745c3035ff3 (diff)
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 ........ Merged revisions 371664 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/dsp.c')
-rw-r--r--main/dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dsp.c b/main/dsp.c
index 33db5055f..4ad76f152 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 */