this breaks the auto rate hunting code in mod_sndfile

This commit is contained in:
Anthony Minessale 2012-11-26 11:59:29 -06:00
parent a7f8e4259e
commit 0b148a85b9
1 changed files with 0 additions and 5 deletions

View File

@ -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) { if (switch_core_file_open(&context->fh, file, handle->channels, handle->samplerate, handle->flags, NULL) != SWITCH_STATUS_SUCCESS) {
goto top; goto top;
} }