[Mplayer-cvslog] CVS: main/TOOLS/subfont-c subfont.c,1.22,1.23

Arpi of Ize arpi at mplayerhq.hu
Sat Jan 4 12:41:28 CET 2003


Update of /cvsroot/mplayer/main/TOOLS/subfont-c
In directory mail:/var/tmp.root/cvs-serv21403

Modified Files:
	subfont.c 
Log Message:
10l
patch by Christian LESTRADE <christian.lestrade at free.fr>


Index: subfont.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/subfont-c/subfont.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- subfont.c	14 Dec 2002 17:55:23 -0000	1.22
+++ subfont.c	4 Jan 2003 11:41:13 -0000	1.23
@@ -1030,6 +1030,7 @@
 
     abuffer = (unsigned char*)malloc(width*height);
     if (abuffer==NULL) ERROR("malloc failed.");
+    memset(abuffer, 0, width*height);
     alpha();
     write_bitmap(abuffer, 'a');
 



More information about the MPlayer-cvslog mailing list