Commit 32334346 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: cosmetics

parent d3f419d0
...@@ -299,9 +299,9 @@ static int Create( vlc_object_t *p_this ) ...@@ -299,9 +299,9 @@ static int Create( vlc_object_t *p_this )
{ {
filter_t *p_filter = (filter_t *)p_this; filter_t *p_filter = (filter_t *)p_this;
filter_sys_t *p_sys; filter_sys_t *p_sys;
char *psz_fontfile = NULL; char *psz_fontfile = NULL;
char *psz_fontfamily = NULL; char *psz_fontfamily = NULL;
int i_error, fontindex; int i_error = 0, fontindex = 0;
/* Allocate structure */ /* Allocate structure */
p_filter->p_sys = p_sys = malloc( sizeof( filter_sys_t ) ); p_filter->p_sys = p_sys = malloc( sizeof( filter_sys_t ) );
...@@ -349,7 +349,6 @@ static int Create( vlc_object_t *p_this ) ...@@ -349,7 +349,6 @@ static int Create( vlc_object_t *p_this )
} }
/* Set the font file */ /* Set the font file */
fontindex = 0;
#ifdef HAVE_FONTCONFIG #ifdef HAVE_FONTCONFIG
FontConfig_BuildCache( p_filter ); FontConfig_BuildCache( p_filter );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment