From 780c603749c9e69ae543f674e8b96a30263ee9c1 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 23 Feb 2018 08:00:54 +0100 Subject: [PATCH] httpc: fix compilation error --- src/httpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/httpc.c b/src/httpc.c index 79eb53e1d..71be497db 100644 --- a/src/httpc.c +++ b/src/httpc.c @@ -1143,6 +1143,7 @@ rtsp_data: } r += hc->hc_csize; hc->hc_code = 0; + res = 0; if (hc->hc_rtp_data_complete) { http_client_get(hc); pthread_mutex_unlock(&hc->hc_mutex); -- 2.47.3