From: Anthony Minessale Date: Mon, 26 Nov 2012 17:59:29 +0000 (-0600) Subject: this breaks the auto rate hunting code in mod_sndfile X-Git-Tag: v1.3.7~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b148a85b94be33fe70b692240e0d449a59f0ef2;p=thirdparty%2Ffreeswitch.git this breaks the auto rate hunting code in mod_sndfile --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index d672e2a3db..0cee939286 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -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; }