diff options
-rw-r--r-- | docs/examples/rtsp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/examples/rtsp.c b/docs/examples/rtsp.c index 5c66aa6e5..3035e3fbc 100644 --- a/docs/examples/rtsp.c +++ b/docs/examples/rtsp.c @@ -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); } |