diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-08 10:04:05 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-08 10:04:05 +0000 |
commit | 7d904048e66ff2c392f2ee7197b55f6b83865d37 (patch) | |
tree | 901cfbb7664b14bc9474668cac40c093def2026e | |
parent | 0177d932d478c642268c4a594e29130ad10fd56f (diff) |
initialize f to NULL, needed if desc=malloc... fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17767 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/font_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/font_load.c b/libvo/font_load.c index 4131050500..e7473f1250 100644 --- a/libvo/font_load.c +++ b/libvo/font_load.c @@ -47,7 +47,7 @@ font_desc_t* read_font_desc(char* fname,float factor,int verbose){ 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]; |