Add missing authentication for asf streaming.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6671 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4
2002-07-08 04:11:23 +00:00
parent d9ca0b96ea
commit fbab7bb6b4
+1
View File
@@ -469,6 +469,7 @@ asf_http_request(streaming_ctrl_t *streaming_ctrl) {
http_hdr = http_new_header();
http_set_field( http_hdr, "Accept: */*" );
http_set_field( http_hdr, "User-Agent: NSPlayer/4.1.0.3856" );
http_add_basic_authentication( http_hdr, url->username, url->password );
// Check if we are using a proxy
if( !strcasecmp( url->protocol, "http_proxy" ) ) {