FS-9538 #resolve [segfault while reading local ringback file]

This commit is contained in:
Anthony Minessale 2016-09-19 13:04:23 -05:00
parent d5baf7d5b7
commit c591a212e8
1 changed files with 1 additions and 1 deletions

View File

@ -4880,7 +4880,7 @@ static switch_status_t file_string_file_seek(switch_file_handle_t *handle, unsig
if (samples == 0 && whence == SEEK_SET) {
context->index = -1;
return SWITCH_STATUS_SUCCESS;
return next_file(handle);
}
if (!handle->seekable) {