[Mplayer-cvslog] CVS: main/libmpeg2 decode.c,1.12,1.13

Arpi of Ize arpi at mplayer.dev.hu
Thu Aug 23 14:46:07 CEST 2001


Update of /cvsroot/mplayer/main/libmpeg2
In directory mplayer:/var/tmp.root/cvs-serv6660

Modified Files:
	decode.c 
Log Message:
zeroing picture struct

Index: decode.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/decode.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- decode.c	23 Aug 2001 11:54:08 -0000	1.12
+++ decode.c	23 Aug 2001 12:46:04 -0000	1.13
@@ -82,6 +82,7 @@
 //    printf("libmpeg2 config flags = 0x%X\n",config.flags);
 
     picture=malloc(sizeof(picture_t)); // !!! NEW HACK :) !!!
+    memset(picture,0,sizeof(picture_t));
 
     header_state_init (picture);
 //    picture->repeat_count=0;




More information about the MPlayer-cvslog mailing list