[Mplayer-cvslog] CVS: main/libvo font_load.c,1.15,1.16
Arpi of Ize
arpi at mplayer.dev.hu
Fri Jul 20 03:51:03 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv25448
Modified Files:
font_load.c
Log Message:
crash fixed if no [fontpath] in .desc
Index: font_load.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/font_load.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- font_load.c 20 Jul 2001 00:01:09 -0000 1.15
+++ font_load.c 20 Jul 2001 01:51:01 -0000 1.16
@@ -51,6 +51,8 @@
desc=malloc(sizeof(font_desc_t));if(!desc) return NULL;
memset(desc,0,sizeof(font_desc_t));
+desc->fpath="";
+
f=fopen(fname,"rt");if(!f){ printf("font: can't open file: %s\n",fname); return NULL;}
// set up some defaults, and erase table
More information about the MPlayer-cvslog
mailing list