Fix "thinkdigit" issue in new DSP code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-03-26 17:01:27 +00:00
parent 9dbe69a7a4
commit e4153aab01

1
dsp.c
View File

@@ -1157,6 +1157,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp,
dsp->thinkdigit = digit;
return &dsp->f;
}
dsp->thinkdigit = digit;
} else {
if (dsp->thinkdigit) {
memset(&dsp->f, 0, sizeof(dsp->f));