diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-08 04:11:23 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-08 04:11:23 +0000 |
commit | fbab7bb6b4cd52736fd3d2b349b076920d34d83f (patch) | |
tree | 4153037f6babb3e7e7b2bcea067e400d2b812d51 /libmpdemux | |
parent | d9ca0b96eae4777b1a86fd8a0e4e72501093c82d (diff) |
Add missing authentication for asf streaming.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6671 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/asf_streaming.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/asf_streaming.c b/libmpdemux/asf_streaming.c index 2134d17862..c7e1ec06af 100644 --- a/libmpdemux/asf_streaming.c +++ b/libmpdemux/asf_streaming.c @@ -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" ) ) { |