From 0b148a85b94be33fe70b692240e0d449a59f0ef2 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 26 Nov 2012 11:59:29 -0600 Subject: [PATCH] this breaks the auto rate hunting code in mod_sndfile --- src/mod/applications/mod_dptools/mod_dptools.c | 5 ----- 1 file changed, 5 deletions(-) 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; }