From fbcd414270794faae0ea47dbbc0730592971ebcf Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 29 Nov 2015 22:35:07 +0100 Subject: [PATCH] SAT>IP server: handle rtsp_start() return code correctly --- src/satip/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 88cc3afef..3f0d70adf 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -1335,7 +1335,7 @@ rtsp_process_play(http_connection_t *hc, int setup) } } - if ((errcode = rtsp_start(hc, rs, hc->hc_peer_ipstr, valid, setup, oldstate)) < 0) + if ((errcode = rtsp_start(hc, rs, hc->hc_peer_ipstr, valid, setup, oldstate)) != 0) goto error; if (setup) { -- 2.47.3