[Mplayer-cvslog] CVS: main/libmpdemux stream.c,1.40,1.41

Arpi of Ize arpi at mplayerhq.hu
Sun Aug 4 15:35:36 CEST 2002


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

Modified Files:
	stream.c 
Log Message:
10000l - didn't clear new stream struct, causing possible sig11 in cache layer


Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- stream.c	26 Jul 2002 04:04:51 -0000	1.40
+++ stream.c	4 Aug 2002 13:35:25 -0000	1.41
@@ -248,6 +248,7 @@
 
 stream_t* new_memory_stream(unsigned char* data,int len){
   stream_t *s=malloc(sizeof(stream_t)+len);
+  memset(s,0,sizeof(stream_t));
   s->fd=-1;
   s->type=STREAMTYPE_MEMORY;
   s->buf_pos=0; s->buf_len=len;




More information about the MPlayer-cvslog mailing list