diff options
author | Martin Storsjö <martin@martin.st> | 2010-06-19 21:57:45 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-06-19 21:57:45 +0000 |
commit | 10ed37b5d159e28025dbbfc37e9619b3cf57874d (patch) | |
tree | b0d31f3a4842d7a8853fe99ae2a73504450c6630 | |
parent | a955fc5ee756b417eda0f1afbfaa69c4c6aafaa6 (diff) | |
download | ffmpeg-10ed37b5d159e28025dbbfc37e9619b3cf57874d.tar.gz |
RTSP: Add the auth credentials to the HTTP tunnel URL, too
Originally committed as revision 23651 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index fb203a6c39..9801fc9a80 100644 --- a/libavformat/rtsp.c +++ b/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()); |