summaryrefslogtreecommitdiffstats
path: root/asf_streaming.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-17 14:03:30 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-17 14:03:30 +0000
commitcc6e52281e6c8d978d2563f747e974b02c394a4e (patch)
tree4287aaa0c4abad4619b6375ff90ccb9bce05da34 /asf_streaming.c
parentedff03960e8bb1033e7b95bfeb4bb880340311b9 (diff)
downloadmpv-cc6e52281e6c8d978d2563f747e974b02c394a4e.tar.bz2
mpv-cc6e52281e6c8d978d2563f747e974b02c394a4e.tar.xz
demuxer struct access code temporary disabled - FIXME
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1341 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'asf_streaming.c')
-rw-r--r--asf_streaming.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/asf_streaming.c b/asf_streaming.c
index b9c6d01c32..6da59efa4a 100644
--- a/asf_streaming.c
+++ b/asf_streaming.c
@@ -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 @@ asf_http_request(URL_t *url) {
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_http_request(URL_t *url) {
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 );