[mod_png] Fix unexpected png video blocked read

This commit is contained in:
Henrique authored and GitHub committed 2023-05-24 02:14:22 +03:00
1 parent 8aa6a8a904
commit a4af2ea7de
1 file changed
+1 -1
+1 -1
View File
@@ -215,7 +215,7 @@ static switch_status_t png_file_read_video(switch_file_handle_t *handle, switch_
switch_goto_status(SWITCH_STATUS_FALSE, end);
}
if ((flags && SVR_BLOCK)) {
if ((flags & SVR_BLOCK)) {
switch_yield(33000);
have_frame = 1;
} else if ((context->reads++ % 20) == 0) {