fix windows build (FSBUILD-181)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14455 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4c88f9cf00
commit
37716e7d15
|
@ -2074,8 +2074,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech(switch_core_session_t *
|
||||||
switch_asr_flag_t flags = SWITCH_ASR_FLAG_NONE;
|
switch_asr_flag_t flags = SWITCH_ASR_FLAG_NONE;
|
||||||
struct speech_thread_handle *sth = switch_channel_get_private(channel, SWITCH_SPEECH_KEY);
|
struct speech_thread_handle *sth = switch_channel_get_private(channel, SWITCH_SPEECH_KEY);
|
||||||
switch_codec_implementation_t read_impl = {0};
|
switch_codec_implementation_t read_impl = {0};
|
||||||
switch_core_session_get_read_impl(session, &read_impl);
|
|
||||||
const char *p;
|
const char *p;
|
||||||
|
switch_core_session_get_read_impl(session, &read_impl);
|
||||||
|
|
||||||
if (!ah) {
|
if (!ah) {
|
||||||
if (!(ah = switch_core_session_alloc(session, sizeof(*ah)))) {
|
if (!(ah = switch_core_session_alloc(session, sizeof(*ah)))) {
|
||||||
|
|
Loading…
Reference in New Issue