提交 71b9b5a5 authored 作者: Michael Jerris's avatar Michael Jerris

incrementing the wrong var.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7232 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1ae039e0
...@@ -1073,7 +1073,7 @@ static switch_bool_t tone_detect_callback(switch_media_bug_t *bug, void *user_da ...@@ -1073,7 +1073,7 @@ static switch_bool_t tone_detect_callback(switch_media_bug_t *bug, void *user_da
frame = switch_core_media_bug_get_write_replace_frame(bug); frame = switch_core_media_bug_get_write_replace_frame(bug);
} }
for (i = 0 ; i < cont->index; cont++) { for (i = 0 ; i < cont->index; i++) {
if (cont->list[i].up && teletone_multi_tone_detect(&cont->list[i].mt, frame->data, frame->samples)) { if (cont->list[i].up && teletone_multi_tone_detect(&cont->list[i].mt, frame->data, frame->samples)) {
switch_event_t *event; switch_event_t *event;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论