[Mplayer-cvslog] CVS: main asf_streaming.c,1.4,1.5

Arpi of Ize arpi at mplayer.dev.hu
Tue Jul 17 16:03:32 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv4086

Modified Files:
	asf_streaming.c 
Log Message:
demuxer struct access code temporary disabled - FIXME

Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/asf_streaming.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- asf_streaming.c	4 Jun 2001 17:54:59 -0000	1.4
+++ asf_streaming.c	17 Jul 2001 14:03:30 -0000	1.5
@@ -8,9 +8,9 @@
 #include "network.h"
 
 #include "stream.h"
-#include "demuxer.h"
+//#include "demuxer.h"
 
-extern demuxer_t *demuxer;
+//extern demuxer_t *demuxer;
 
 static ASF_StreamType_e streaming_type = ASF_Unknown_e;
 
@@ -152,6 +152,11 @@
 			http_set_field( http_hdr, "Pragma: xPlayStrm=1" );
 			ptr = str;
 			ptr += sprintf( ptr, "Pragma: stream-switch-entry=");
+
+// FIXME: why do you need demuxer here? if you really need it, pass it as
+// parameter. -- A'rpi
+
+#if 0
 			for( i=0, asf_nb_stream=0 ; i<256 ; i++ ) {
 				// FIXME START
 				if( demuxer==NULL ) {
@@ -169,6 +174,7 @@
 					asf_nb_stream++;
 				}
 			}
+#endif
 			http_set_field( http_hdr, str );
 			sprintf( str, "Pragma: stream-switch-count=%d", asf_nb_stream );
 			http_set_field( http_hdr, str );




More information about the MPlayer-cvslog mailing list