Fixed CURLOPT_URL.

This commit is contained in:
Rolf Ahrenberg 2014-12-20 18:46:00 +02:00
parent c5499ce1da
commit 4cb25ce93c
1 changed files with 1 additions and 2 deletions

3
rtsp.c
View File

@ -173,8 +173,7 @@ bool cSatipRtsp::Options(const char *uriP)
cTimeMs processing(0);
CURLcode res = CURLE_OK;
if (!strstr(uriP, "?"))
SATIP_CURL_EASY_SETOPT(handleM, CURLOPT_URL, uriP);
SATIP_CURL_EASY_SETOPT(handleM, CURLOPT_URL, uriP);
SATIP_CURL_EASY_SETOPT(handleM, CURLOPT_RTSP_STREAM_URI, uriP);
SATIP_CURL_EASY_SETOPT(handleM, CURLOPT_RTSP_REQUEST, (long)CURL_RTSPREQ_OPTIONS);
SATIP_CURL_EASY_PERFORM(handleM);