From: Jaroslav Kysela Date: Sun, 29 Nov 2015 21:35:07 +0000 (+0100) Subject: SAT>IP server: handle rtsp_start() return code correctly X-Git-Tag: v4.0.8~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4b42ea278c25f9cd6dedbf6f440c7caa740c870;p=thirdparty%2Ftvheadend.git SAT>IP server: handle rtsp_start() return code correctly --- diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 2f2ab1a10..af4b1a379 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -1301,7 +1301,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) {