mirror of
https://github.com/curl/curl.git
synced 2026-04-19 02:31:14 +03:00
examples/rtsp: clear RANGE again after use
Fixes #2106 Reported-by: youngchopin on github
This commit is contained in:
parent
914f4ed279
commit
ed22d8654b
1 changed files with 3 additions and 0 deletions
|
|
@ -129,6 +129,9 @@ static void rtsp_play(CURL *curl, const char *uri, const char *range)
|
|||
my_curl_easy_setopt(curl, CURLOPT_RANGE, range);
|
||||
my_curl_easy_setopt(curl, CURLOPT_RTSP_REQUEST, (long)CURL_RTSPREQ_PLAY);
|
||||
my_curl_easy_perform(curl);
|
||||
|
||||
/* switch off using range again */
|
||||
my_curl_easy_setopt(curl, CURLOPT_RANGE, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue