]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
this breaks the auto rate hunting code in mod_sndfile
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 26 Nov 2012 17:59:29 +0000 (11:59 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 26 Nov 2012 17:59:48 +0000 (11:59 -0600)
src/mod/applications/mod_dptools/mod_dptools.c

index d672e2a3dbe00e04d93bd80a80a1682f0781e9ff..0cee93928680e2bc170e4f16905a586ce19cf50b 100755 (executable)
@@ -4478,11 +4478,6 @@ static switch_status_t next_file(switch_file_handle_t *handle)
                }
        }
 
-       if (switch_file_exists(file, handle->memory_pool) != SWITCH_STATUS_SUCCESS) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "File [%s] does not exist.\n", file);
-               goto top;
-       }
-
        if (switch_core_file_open(&context->fh, file, handle->channels, handle->samplerate, handle->flags, NULL) != SWITCH_STATUS_SUCCESS) {
                goto top;
        }