mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
FS-9881 accidentally removed -1 for forever support
This commit is contained in:
parent
e6a12500f1
commit
8d8e324e00
@ -185,7 +185,7 @@ static switch_status_t png_file_read(switch_file_handle_t *handle, void *data, s
|
|||||||
context->samples -= *len;
|
context->samples -= *len;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (context->samples <= 0) {
|
if (context->samples == 0) {
|
||||||
context->done = 1;
|
context->done = 1;
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
switch_goto_status(status, end);
|
switch_goto_status(status, end);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user