Mercurial > mplayer.hg
changeset 6670:70b54c2e0292
Add missing authentication for asf streaming.
author | atmos4 |
---|---|
date | Mon, 08 Jul 2002 04:11:23 +0000 |
parents | 917fa27c7d32 |
children | 7c4663f0a8a1 |
files | libmpdemux/asf_streaming.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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" ) ) {