summaryrefslogtreecommitdiffstats
path: root/demux_asf.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-15 19:38:34 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-15 19:38:34 +0000
commitd9f508424368895842f5dc783d57636fcdfb3fb1 (patch)
tree12b51358fa0ccee41f255f8b9dea1cb7f2e98c82 /demux_asf.c
parent891f664f7de04112d5a3f8aef50a2386fbc5adda (diff)
downloadmpv-d9f508424368895842f5dc783d57636fcdfb3fb1.tar.bz2
mpv-d9f508424368895842f5dc783d57636fcdfb3fb1.tar.xz
small code cleanup, removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@110 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'demux_asf.c')
-rw-r--r--demux_asf.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/demux_asf.c b/demux_asf.c
index ed8532a7a1..5f30496eab 100644
--- a/demux_asf.c
+++ b/demux_asf.c
@@ -17,11 +17,6 @@ typedef struct __attribute__((packed)) {
static int demux_asf_read_packet(demuxer_t *demux,unsigned char *data,int len,int id,int seq,unsigned long time,unsigned short dur,int offs){
- int d;
-// int len;
- int skip;
- float pts=0;
- unsigned char c=0;
demux_stream_t *ds=NULL;
if(verbose>=4) printf("demux_asf.read_packet: id=%d seq=%d len=%d\n",id,seq,len);
@@ -96,11 +91,6 @@ static int demux_asf_read_packet(demuxer_t *demux,unsigned char *data,int len,in
// 0 = EOF or no stream found
// 1 = successfully read a packet
int demux_asf_fill_buffer(demuxer_t *demux){
-unsigned int id=0;
-unsigned int len;
-int skipped=0;
-int max_packs=128;
-int ret=0;
demux->filepos=stream_tell(demux->stream);
if(demux->filepos>=demux->endpos){