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:
parent
fc008444f7
commit
dda6be49dd
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue