提交 14c9fd0f authored 作者: Anthony Minessale's avatar Anthony Minessale

MODFORM-23

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11698 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 393ed253
......@@ -66,7 +66,11 @@ static switch_status_t sndfile_file_open(switch_file_handle_t *handle, const cha
size_t alt_len = 0;
int rates[4] = {8000, 16000, 32000, 48000};
int i;
#ifdef WIN32
char ps[2] = {'\\', '/'};
#else
char ps[2] = {'/', '\\'};
#endif
int x;
if ((ext = strrchr(path, '.')) == 0) {
......@@ -175,9 +179,6 @@ static switch_status_t sndfile_file_open(switch_file_handle_t *handle, const cha
}
}
}
#ifndef WIN32
break;
#endif
}
if (!context->handle) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论