[MPlayer-cvslog] CVS: main/libvo font_load.c,1.31,1.32

Reimar Döffinger CVS syncmail at mplayerhq.hu
Wed Mar 8 11:04:07 CET 2006


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv9433

Modified Files:
	font_load.c 
Log Message:
initialize f to NULL, needed if desc=malloc... fails


Index: font_load.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/font_load.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- font_load.c	30 Nov 2004 02:36:05 -0000	1.31
+++ font_load.c	8 Mar 2006 10:04:05 -0000	1.32
@@ -47,7 +47,7 @@
 unsigned char sor[1024];
 unsigned char sor2[1024];
 font_desc_t *desc;
-FILE *f;
+FILE *f = NULL;
 char *dn;
 struct stat fstate;
 char section[64];




More information about the MPlayer-cvslog mailing list