# HG changeset patch # User atmos4 # Date 1026101483 0 # Node ID 70b54c2e0292bfcda73658912d88834f7330c959 # Parent 917fa27c7d32cafd7ef6d38d35b0663b619007ed Add missing authentication for asf streaming. diff -r 917fa27c7d32 -r 70b54c2e0292 libmpdemux/asf_streaming.c --- a/libmpdemux/asf_streaming.c Sun Jul 07 22:55:46 2002 +0000 +++ b/libmpdemux/asf_streaming.c Mon Jul 08 04:11:23 2002 +0000 @@ -469,6 +469,7 @@ 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" ) ) {