]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix local_stream with rates on windows (revert r8378)
authorMichael Jerris <mike@jerris.com>
Thu, 22 May 2008 01:57:04 +0000 (01:57 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 22 May 2008 01:57:04 +0000 (01:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8519 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_local_stream/mod_local_stream.c

index caa84ccd3f8b1c1e96e62fb1d85a87a21645964b..67463fc965f84ad4959a5bd8cc67efc3688fca9f 100644 (file)
@@ -254,7 +254,7 @@ static switch_status_t local_stream_file_open(switch_file_handle_t *handle, cons
                return SWITCH_STATUS_FALSE;
        }
        
-       alt_path = switch_mprintf("%s%s%d", path, SWITCH_PATH_SEPARATOR, handle->samplerate);
+       alt_path = switch_mprintf("%s/%d", path, handle->samplerate);
 
        switch_mutex_lock(globals.mutex);
        if ((source = switch_core_hash_find(globals.source_hash, alt_path))) {