From fbab7bb6b4cd52736fd3d2b349b076920d34d83f Mon Sep 17 00:00:00 2001 From: atmos4 Date: Mon, 8 Jul 2002 04:11:23 +0000 Subject: Add missing authentication for asf streaming. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6671 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/asf_streaming.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpdemux') 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" ) ) { -- cgit v1.2.3