提交 fd721e67 authored 作者: Michael Jerris's avatar Michael Jerris

fix assert when calling speech_open without a pool

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12465 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f3514532
......@@ -78,7 +78,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_speech_open(switch_speech_handle_t *
}
sh->rate = rate;
sh->name = switch_core_strdup(pool, module_name);
sh->name = switch_core_strdup(sh->memory_pool, module_name);
sh->samples = switch_samples_per_packet(rate, interval);
sh->samplerate = rate;
sh->native_rate = rate;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论