Commit 00cc9dca authored by Rémi Duraffort's avatar Rémi Duraffort

Remove stupid test and error message.

parent e7832276
......@@ -315,8 +315,6 @@ int spectrum_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
fft_close( p_state );
free( p_s16_buff );
p_s16_buff = NULL;
free( height );
return 0;
......
......@@ -203,10 +203,7 @@ static int Open( vlc_object_t *p_this )
p_sys = p_filter->p_sys = malloc( sizeof( aout_filter_sys_t ) );
if( p_sys == NULL )
{
msg_Err( p_filter, "out of memory" );
return VLC_EGENERIC;
}
p_sys->i_height = config_GetInt( p_filter , "effect-height");
p_sys->i_width = config_GetInt( p_filter , "effect-width");
......@@ -296,10 +293,7 @@ static int Open( vlc_object_t *p_this )
}
}
if( psz_effects )
{
free( psz_effects );
}
free( psz_effects );
if( !p_sys->i_effect )
{
......
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