Commit 1a4fe53c authored by Rémi Duraffort's avatar Rémi Duraffort

Don't use var_CreateGetString to create a variable.

parent f528a785
......@@ -358,10 +358,8 @@ static int EqzInit( aout_filter_t *p_filter, int i_rate )
}
}
char *psz_tmp = var_CreateGetString( p_aout,"equalizer-bands" );
free( psz_tmp );
psz_tmp = var_CreateGetString( p_aout, "equalizer-preset" );
free( psz_tmp );
var_Create( p_aout, "equalizer-bands", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
var_Create( p_aout, "equalizer-preset", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
p_sys->b_2eqz = var_CreateGetBool( p_aout, "equalizer-2pass" );
......
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