[Mplayer-cvslog] CVS: main/libmpdemux demuxer.h,1.42,1.43

Arpi of Ize arpi at mplayerhq.hu
Sun Aug 4 02:16:01 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv10004

Modified Files:
	demuxer.h 
Log Message:
new_demux_packet: allocate 8 bytes too much


Index: demuxer.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- demuxer.h	2 Aug 2002 17:44:16 -0000	1.42
+++ demuxer.h	4 Aug 2002 00:15:58 -0000	1.43
@@ -125,7 +125,7 @@
 inline static demux_packet_t* new_demux_packet(int len){
   demux_packet_t* dp=malloc(sizeof(demux_packet_t));
   dp->len=len;
-  dp->buffer=len?malloc(len):NULL;
+  dp->buffer=len?malloc(len+8):NULL;
   dp->next=NULL;
   dp->pts=0;
   dp->pos=0;




More information about the MPlayer-cvslog mailing list