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

Originally committed as revision 23651 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Martin Storsjö 15 years ago
parent a955fc5ee7
commit 10ed37b5d1
  1. 2
      libavformat/rtsp.c

@ -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());

Loading…
Cancel
Save