Unverified Commit ed22d865 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

examples/rtsp: clear RANGE again after use

Fixes #2106
Reported-by: youngchopin on github
parent 914f4ed2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
}