]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix windows build (FSBUILD-181)
authorMichael Jerris <mike@jerris.com>
Sat, 1 Aug 2009 17:33:25 +0000 (17:33 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 1 Aug 2009 17:33:25 +0000 (17:33 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14455 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_async.c

index 969fbfd17593fe3bedd3df161d73b9eb9935bc0d..726cece61f5ba837cd2246cafd28aa90f7e5c625 100644 (file)
@@ -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;
        struct speech_thread_handle *sth = switch_channel_get_private(channel, SWITCH_SPEECH_KEY);
        switch_codec_implementation_t read_impl = {0};
-       switch_core_session_get_read_impl(session, &read_impl);
        const char *p;
+       switch_core_session_get_read_impl(session, &read_impl);
        
        if (!ah) {
                if (!(ah = switch_core_session_alloc(session, sizeof(*ah)))) {