Commit 68f941d8 authored by mstorsjo's avatar mstorsjo

RTSP: Add the auth credentials to the HTTP tunnel URL, too


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23651 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0fe18eae
......@@ -1573,7 +1573,7 @@ redirect:
char sessioncookie[17];
char headers[1024];
ff_url_join(httpname, sizeof(httpname), "http", NULL, host, port, "%s", path);
ff_url_join(httpname, sizeof(httpname), "http", auth, host, port, "%s", path);
snprintf(sessioncookie, sizeof(sessioncookie), "%08x%08x",
av_get_random_seed(), av_get_random_seed());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment