]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 371663 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Sun, 26 Aug 2012 23:26:14 +0000 (23:26 +0000)
committerAutomerge script <automerge@asterisk.org>
Sun, 26 Aug 2012 23:26:14 +0000 (23:26 +0000)
file:///srv/subversion/repos/asterisk/branches/10

................
  r371663 | alecdavis | 2012-08-26 18:06:14 -0500 (Sun, 26 Aug 2012) | 5 lines

  mf_detect: incorrectly used DTMF_GSIZE instead of MF_GSIZE
  ........

  Merged revisions 371662 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@371689 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/dsp.c

index 43ea73f63efe2a33abd0d128e43c7f8d41e2d2a2..96a101f0be220a82d66f14aa05935de46f1d23c0 100644 (file)
@@ -917,7 +917,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 */