[MPlayer-cvslog] CVS: main/libmpdemux muxer_mpeg.c,1.6,1.7

Nico Sabbi CVS syncmail at mplayerhq.hu
Wed Feb 23 08:30:39 CET 2005


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv29134

Modified Files:
	muxer_mpeg.c 
Log Message:
replace bzero() with memset()

Index: muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- muxer_mpeg.c	22 Feb 2005 21:47:18 -0000	1.6
+++ muxer_mpeg.c	23 Feb 2005 07:30:37 -0000	1.7
@@ -380,7 +380,7 @@
     spriv->framebuf_cnt = 30;
     spriv->framebuf_used = 0;
     spriv->framebuf = init_frames(spriv->framebuf_cnt, (size_t) 5000);
-    bzero(&(spriv->picture), sizeof(spriv->picture));
+    memset(&(spriv->picture), 0, sizeof(spriv->picture));
     if(spriv->framebuf == NULL) {
       mp_msg(MSGT_MUXER, MSGL_FATAL, "Couldn't allocate initial frames structure, abort!\n");
       return NULL;




More information about the MPlayer-cvslog mailing list