[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.28,1.29

Atmosfear atmos4 at mplayerhq.hu
Mon Jul 8 06:11:26 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv11509/libmpdemux

Modified Files:
	asf_streaming.c 
Log Message:
Add missing authentication for asf streaming.


Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- asf_streaming.c	5 Jul 2002 02:46:03 -0000	1.28
+++ asf_streaming.c	8 Jul 2002 04:11:23 -0000	1.29
@@ -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" ) ) {




More information about the MPlayer-cvslog mailing list