[vlc-commits] Freetype: cosmetics
Jean-Baptiste Kempf
git at videolan.org
Sat Mar 26 23:07:36 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar 26 23:06:56 2011 +0100| [323343462f589d170192764e78852515b53e6ff8] | committer: Jean-Baptiste Kempf
Freetype: cosmetics
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=323343462f589d170192764e78852515b53e6ff8
---
modules/misc/text_renderer/freetype.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/misc/text_renderer/freetype.c b/modules/misc/text_renderer/freetype.c
index 2f58ba2..e855734 100644
--- a/modules/misc/text_renderer/freetype.c
+++ b/modules/misc/text_renderer/freetype.c
@@ -299,9 +299,9 @@ static int Create( vlc_object_t *p_this )
{
filter_t *p_filter = (filter_t *)p_this;
filter_sys_t *p_sys;
- char *psz_fontfile = NULL;
+ char *psz_fontfile = NULL;
char *psz_fontfamily = NULL;
- int i_error, fontindex;
+ int i_error = 0, fontindex = 0;
/* Allocate structure */
p_filter->p_sys = p_sys = malloc( sizeof( filter_sys_t ) );
@@ -349,7 +349,6 @@ static int Create( vlc_object_t *p_this )
}
/* Set the font file */
- fontindex = 0;
#ifdef HAVE_FONTCONFIG
FontConfig_BuildCache( p_filter );
More information about the vlc-commits
mailing list