mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 12:14:13 +00:00
FS-9881 accidentally removed -1 for forever support
This commit is contained in:
1 parent
e6a12500f1
commit
8d8e324e00
1 file changed
+1
-1
@@ -185,7 +185,7 @@ static switch_status_t png_file_read(switch_file_handle_t *handle, void *data, s
|
||||
context->samples -= *len;
|
||||
}
|
||||
|
||||
if (context->samples <= 0) {
|
||||
if (context->samples == 0) {
|
||||
context->done = 1;
|
||||
status = SWITCH_STATUS_FALSE;
|
||||
switch_goto_status(status, end);
|
||||
|
||||
Reference in new issue
Block a user