[Mplayer-cvslog] CVS: main/libmpdemux demux_asf.c,1.19,1.20
Arpi of Ize
arpi at mplayer.dev.hu
Wed Jan 16 15:54:59 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux stheader.h,1.21,1.22
- Next message: [Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.52,1.53 vo_vesa.c,1.55,1.56 vo_xvidix.c,1.6,1.7 vosub_vidix.c,1.8,1.9 vosub_vidix.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv32141
Modified Files:
demux_asf.c
Log Message:
fixed a few possible bugs
Index: demux_asf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_asf.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- demux_asf.c 12 Dec 2001 22:35:51 -0000 1.19
+++ demux_asf.c 16 Jan 2002 14:54:56 -0000 1.20
@@ -155,7 +155,7 @@
unsigned char flags=asf_packet[3];
unsigned char segtype=asf_packet[4];
unsigned char* p=&asf_packet[5];
- unsigned char* p_end=p+asf_packetsize;
+ unsigned char* p_end=asf_packet+asf_packetsize;
unsigned long time;
unsigned short duration;
int segs=1;
@@ -181,7 +181,7 @@
if(flags&(8|16)){
padding=p[0];p++;
if(flags&16){ padding|=p[0]<<8; p++;}
- mp_msg(MSGT_DEMUX,MSGL_V,"Warning! explicit=%d padding=%d \n",plen,asf_packetsize-padding);
+ mp_dbg(MSGT_DEMUX,MSGL_DBG2,"Warning! explicit=%d padding=%d \n",plen,asf_packetsize-padding);
}
} else {
// Padding (relative) size
@@ -272,7 +272,7 @@
// single segment
len=plen-(p-asf_packet);
}
- if(len<0 || (p+len)>=p_end){
+ if(len<0 || (p+len)>p_end){
mp_msg(MSGT_DEMUX,MSGL_V,"ASF_parser: warning! segment len=%d\n",len);
}
mp_dbg(MSGT_DEMUX,MSGL_DBG4," seg #%d: streamno=%d seq=%d type=%02X len=%d\n",seg,streamno,seq,type,len);
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux stheader.h,1.21,1.22
- Next message: [Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.52,1.53 vo_vesa.c,1.55,1.56 vo_xvidix.c,1.6,1.7 vosub_vidix.c,1.8,1.9 vosub_vidix.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list