Commit 23b802c4 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bug in dtmfgenerator, whose stop command was not working as expected for custom tones.

parent 2720ab1d
......@@ -205,6 +205,7 @@ static int dtmfgen_stop(MSFilter *f, void *arg){
if (s->pos<min_duration)
s->dur=min_duration;
else s->dur=0;
memset(&s->current_tone,0,sizeof(s->current_tone));
ms_filter_unlock(f);
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment