attempt to fix FSCORE-207
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10076 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7a16dbec4c
commit
9b15de0c16
|
@ -755,15 +755,15 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
|
||||||
|
|
||||||
read_codec = switch_core_session_get_read_codec(session);
|
read_codec = switch_core_session_get_read_codec(session);
|
||||||
|
|
||||||
if (!strcasecmp(read_codec->implementation->iananame, "l16")) {
|
if (switch_strlen_zero(file) || !read_codec || !read_codec->implementation) {
|
||||||
l16++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (switch_strlen_zero(file) || !read_codec) {
|
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!strcasecmp(read_codec->implementation->iananame, "l16")) {
|
||||||
|
l16++;
|
||||||
|
}
|
||||||
|
|
||||||
if ((alt = strchr(file, ':'))) {
|
if ((alt = strchr(file, ':'))) {
|
||||||
char *dup;
|
char *dup;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue