From: Jaroslav Kysela Date: Thu, 6 Jul 2017 13:34:17 +0000 (+0200) Subject: satip server: fix the cherry pick error (cmd) X-Git-Tag: v4.2.4~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=490b6f213a7435d27f99fbb799f76c19c3da0d8e;p=thirdparty%2Ftvheadend.git satip server: fix the cherry pick error (cmd) --- diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 1fda0cb0f..e08c626d3 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -1428,7 +1428,7 @@ rtsp_process_play(http_connection_t *hc, int cmd) goto end; error: - if (rs && setup) { + if (rs && cmd == RTSP_CMD_SETUP) { rtsp_close_session(rs); rtsp_free_session(rs); }