[Mplayer-cvslog] CVS: main/libmpdemux demuxer.h,1.48,1.49
Arpi of Ize
arpi at mplayerhq.hu
Thu Oct 17 02:54:16 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main subreader.c,1.72,1.73
- Next message: [Mplayer-cvslog] CVS: main/libvo mga_common.c,1.46,1.47 vo_gl.c,1.30,1.31 vo_xmga.c,1.79,1.80 vo_xvidix.c,1.51,1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv23412
Modified Files:
demuxer.h
Log Message:
fill the extra bytes with zero
Index: demuxer.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- demuxer.h 16 Oct 2002 14:50:45 -0000 1.48
+++ demuxer.h 17 Oct 2002 00:54:13 -0000 1.49
@@ -130,13 +130,14 @@
inline static demux_packet_t* new_demux_packet(int len){
demux_packet_t* dp=(demux_packet_t*)malloc(sizeof(demux_packet_t));
dp->len=len;
- dp->buffer=len?(unsigned char*)malloc(len+8):NULL;
dp->next=NULL;
dp->pts=0;
dp->pos=0;
dp->flags=0;
dp->refcount=1;
dp->master=NULL;
+ dp->buffer=len?(unsigned char*)malloc(len+8):NULL;
+ if(len) memset(dp->buffer+len,0,8);
return dp;
}
- Previous message: [Mplayer-cvslog] CVS: main subreader.c,1.72,1.73
- Next message: [Mplayer-cvslog] CVS: main/libvo mga_common.c,1.46,1.47 vo_gl.c,1.30,1.31 vo_xmga.c,1.79,1.80 vo_xvidix.c,1.51,1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list