FS-9881 accidentally removed -1 for forever support

This commit is contained in:
Anthony Minessale 2017-01-04 11:00:22 -06:00
parent e6a12500f1
commit 8d8e324e00
1 changed files with 1 additions and 1 deletions

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);