From: spdfrk Date: Sun, 28 Feb 2016 10:28:08 +0000 (+0100) Subject: RTSP: Also allow RTP/AVP/UDP stream type. X-Git-Tag: v4.2.1~974 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60c8a1231a565b8e6e72b7f66224882cf8e22577;p=thirdparty%2Ftvheadend.git RTSP: Also allow RTP/AVP/UDP stream type. It is possible that the server appends UDP to the type so just check for RTP/AVP*. --- diff --git a/src/rtsp.c b/src/rtsp.c index dd52a85f5..83d2380a0 100644 --- a/src/rtsp.c +++ b/src/rtsp.c @@ -169,7 +169,7 @@ rtsp_setup_decode( http_client_t *hc, int satip ) } } } - } else if (!strcasecmp(argv[0], "RTP/AVP")) { + } else if (!strncasecmp(argv[0], "RTP/AVP", 7)) { if (n < 3) return -EIO; hc->hc_rtp_multicast = strcasecmp(argv[1], "multicast") == 0;