mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-9538 #resolve [segfault while reading local ringback file]
This commit is contained in:
parent
d5baf7d5b7
commit
c591a212e8
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user