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

small fixes for g729 lib compiling and speex loading.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@110 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 fc008444
......@@ -51,7 +51,6 @@ static switch_status switch_g729_init(switch_codec *codec, switch_codec_flag fla
return SWITCH_STATUS_FALSE;
} else {
if (encoding) {
//init_coder is fucked if you comment it no more crash
g729_init_coder(&context->encoder_object, 0);
}
if (decoding) {
......
......@@ -25,7 +25,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="cscript /nologo $(InputDir)getlibs.vbs Mod_CodecG729 Debug"
CommandLine="cscript /nologo $(InputDir)..\..\..\w32\vsnet\getlibs.vbs Mod_CodecG729 Debug"
/>
<Tool
Name="VCCustomBuildTool"
......@@ -108,7 +108,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="cscript /nologo $(InputDir)getlibs.vbs Mod_CodecG729 Release"
CommandLine="cscript /nologo $(InputDir)..\..\..\w32\vsnet\getlibs.vbs Mod_CodecG729 Release"
/>
<Tool
Name="VCCustomBuildTool"
......
......@@ -329,7 +329,7 @@ static switch_loadable_module_interface speex_module_interface = {
/*.application_interface*/ NULL
};
switch_status switch_module_load(switch_loadable_module_interface **interface, char *filename) {
SWITCH_MOD_DECLARE(switch_status) switch_module_load(switch_loadable_module_interface **interface, char *filename) {
/* connect my internal structure to the blank pointer passed to me */
*interface = &speex_module_interface;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论