git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4219 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-13 02:31:17 +00:00
parent 87d5a3bbb4
commit 25963d7a57
1 changed files with 2 additions and 3 deletions

View File

@ -106,11 +106,10 @@ static switch_status_t sndfile_file_open(switch_file_handle_t *handle, char *pat
context->sfinfo.format |= map->format;
ready = 1;
}
} else if (map) {
ready = 1;
} else {
ready = 0;
}
if (!ready) {
ready = 1;
if (!strcmp(ext, "r8") || !strcmp(ext, "raw")) {