From ed22d8654b4e010e6eccec395e9ea93ac8ef0844 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Nov 2017 08:06:44 +0100 Subject: examples/rtsp: clear RANGE again after use Fixes #2106 Reported-by: youngchopin on github --- docs/examples/rtsp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/examples') 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); } -- cgit v1.2.3