[Mplayer-cvslog] CVS: main/TOOLS/subfont-c subfont.c,1.20,1.21

Michael Niedermayer michael at mplayerhq.hu
Sun Aug 18 10:21:40 CEST 2002


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

Modified Files:
	subfont.c 
Log Message:
10l patch by Jindrich Makovicka <makovick at KMLinux dot fjfi dot cvut dot cz>


Index: subfont.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/subfont-c/subfont.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- subfont.c	16 Aug 2002 22:39:02 -0000	1.20
+++ subfont.c	18 Aug 2002 08:21:24 -0000	1.21
@@ -629,7 +629,7 @@
     unsigned char  *s = buffer;
     unsigned short *t = tmp2+1;
     for(y=0; y<height; y++){
-	memset(t, 0, (width+1)*sizeof(short));
+	memset(t-1, 0, (width+1)*sizeof(short));
 //	for(x=0; x<width+1; x++)
 //	    t[x]= 128;
 




More information about the MPlayer-cvslog mailing list