# HG changeset patch # User arpi # Date 995378610 0 # Node ID d4f1e8d0e591f06d1e47abc04f7a8d6c9371b75a # Parent bf2c01c5e9dc9771b179b8f53889aa3f5b96e6a7 demuxer struct access code temporary disabled - FIXME diff -r bf2c01c5e9dc -r d4f1e8d0e591 asf_streaming.c --- a/asf_streaming.c Tue Jul 17 13:57:32 2001 +0000 +++ b/asf_streaming.c Tue Jul 17 14:03:30 2001 +0000 @@ -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 );