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
This commit is contained in:
Michael Jerris 2005-12-10 17:55:46 +00:00
parent fc008444f7
commit dda6be49dd
3 changed files with 3 additions and 4 deletions

View File

@ -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) {

View File

@ -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"

View File

@ -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;