From 311a20af63443255dda0764c578bdac190fd84da Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 23 Oct 2019 23:03:18 +0400 Subject: [PATCH] [mod_verto] Ignore not just zero but negative frame size as well. --- src/mod/endpoints/mod_verto/mod_verto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index f7dba78ae7..efd76ac25c 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -1922,7 +1922,7 @@ static void client_run(jsock_t *jsock) int rem = 0; int dur = 0, j = 0; - if (!(size = atoi(p))) { + if ((size = atoi(p)) <= 0) { continue; }