[MPlayer-cvslog] CVS: main/libmpcodecs/native RTjpegN.c,1.7,1.8
Sascha Sommer CVS
syncmail at mplayerhq.hu
Fri Feb 4 19:31:06 CET 2005
CVS change done by Sascha Sommer CVS
Update of /cvsroot/mplayer/main/libmpcodecs/native
In directory mail:/var2/tmp/cvs-serv14202/libmpcodecs/native
Modified Files:
RTjpegN.c
Log Message:
bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
Index: RTjpegN.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/native/RTjpegN.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- RTjpegN.c 2 Aug 2004 03:35:50 -0000 1.7
+++ RTjpegN.c 4 Feb 2005 18:31:03 -0000 1.8
@@ -3138,7 +3138,7 @@
fprintf(stderr, "RTjpeg: Could not allocate memory\n");
exit(-1);
}
- bzero(RTjpeg_old, ((4*RTjpeg_width*RTjpeg_height)));
+ memset(RTjpeg_old, 0, ((4*RTjpeg_width*RTjpeg_height)));
}
#ifdef MMX
More information about the MPlayer-cvslog
mailing list