mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
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:
1
dsp.c
1
dsp.c
@@ -1157,6 +1157,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp,
|
|||||||
dsp->thinkdigit = digit;
|
dsp->thinkdigit = digit;
|
||||||
return &dsp->f;
|
return &dsp->f;
|
||||||
}
|
}
|
||||||
|
dsp->thinkdigit = digit;
|
||||||
} else {
|
} else {
|
||||||
if (dsp->thinkdigit) {
|
if (dsp->thinkdigit) {
|
||||||
memset(&dsp->f, 0, sizeof(dsp->f));
|
memset(&dsp->f, 0, sizeof(dsp->f));
|
||||||
|
|||||||
Reference in New Issue
Block a user