FS-9881 accidentally removed -1 for forever support

This commit is contained in:
Anthony Minessale authored and Mike Jerris committed 2017-01-04 12:59:51 -05:00
1 parent d4833fac43
commit 605ac486c1
1 file changed
+1 -1
+1 -1
View File
@@ -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);