summaryrefslogtreecommitdiffstats
path: root/demux_asf.c
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-18 16:14:06 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-18 16:14:06 +0000
commit4a83e5f2bd80b95f6acf9737462f0c3bce30423a (patch)
treeb7f8797c8b6a142ab2d2f88114dc7afe944689c4 /demux_asf.c
parent8a0a08e97f23930c62c4e13ef5c371508f5051fc (diff)
downloadmpv-4a83e5f2bd80b95f6acf9737462f0c3bce30423a.tar.bz2
mpv-4a83e5f2bd80b95f6acf9737462f0c3bce30423a.tar.xz
Starting implementation of ASF network streaming.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@834 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'demux_asf.c')
-rw-r--r--demux_asf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/demux_asf.c b/demux_asf.c
index 059a3e8f65..c63b3803d5 100644
--- a/demux_asf.c
+++ b/demux_asf.c
@@ -8,6 +8,8 @@ extern int verbose; // defined in mplayer.c
#include "stream.h"
#include "demuxer.h"
+#include "asf.h"
+
// defined at asfheader.c:
extern unsigned char* asf_packet;
extern int asf_scrambling_h;
@@ -24,12 +26,16 @@ extern int asf_packetsize;
//static int skip_video_frames=0;
+//BB: Moved to asf.h --------- FROM HERE --------
+#ifdef 0
typedef struct __attribute__((packed)) {
unsigned char streamno;
unsigned char seq;
unsigned long x;
unsigned char flag;
} ASF_segmhdr_t;
+#endif
+//BB: Moved to asf.h --------- TO HERE --------
static void asf_descrambling(unsigned char *src,int len){
unsigned char *dst=malloc(len);