Commit 54d212fa authored by Rémi Duraffort's avatar Rémi Duraffort

svg: remove unused variable.

parent f957d62e
...@@ -72,7 +72,7 @@ static char *svg_GetTemplate( vlc_object_t *p_this ); ...@@ -72,7 +72,7 @@ static char *svg_GetTemplate( vlc_object_t *p_this );
"for automatic string conversion" ) "for automatic string conversion" )
vlc_module_begin () vlc_module_begin ()
set_category( CAT_INPUT) set_category( CAT_INPUT )
set_category( SUBCAT_INPUT_SCODEC ) set_category( SUBCAT_INPUT_SCODEC )
set_capability( "text renderer", 99 ) set_capability( "text renderer", 99 )
add_shortcut( "svg" ) add_shortcut( "svg" )
...@@ -115,7 +115,6 @@ struct filter_sys_t ...@@ -115,7 +115,6 @@ struct filter_sys_t
/* Default size for rendering. Initialized to the output size. */ /* Default size for rendering. Initialized to the output size. */
int i_width; int i_width;
int i_height; int i_height;
vlc_mutex_t *lock;
}; };
/***************************************************************************** /*****************************************************************************
...@@ -445,7 +444,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out, ...@@ -445,7 +444,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
psz_string = p_region_in->psz_text; psz_string = p_region_in->psz_text;
if( !psz_string || !*psz_string ) return VLC_EGENERIC; if( !psz_string || !*psz_string ) return VLC_EGENERIC;
p_svg = ( svg_rendition_t * )malloc( sizeof( svg_rendition_t ) ); p_svg = malloc( sizeof( svg_rendition_t ) );
if( !p_svg ) if( !p_svg )
return VLC_ENOMEM; return VLC_ENOMEM;
......
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