aout_filter_t *p_filter = (aout_filter_t*)p_this;
vlc_bool_t b_fit = VLC_TRUE;
int i_channels;
- aout_filter_sys_t *p_sys = p_filter->p_sys =
- malloc( sizeof( aout_filter_sys_t ) );
+ aout_filter_sys_t *p_sys;
if( p_filter->input.i_format != VLC_FOURCC('f','l','3','2' ) ||
p_filter->output.i_format != VLC_FOURCC('f','l','3','2') )
i_channels = aout_FormatNbChannels( &p_filter->input );
+ p_sys = p_filter->p_sys = malloc( sizeof( aout_filter_sys_t ) );
p_sys->i_nb = var_CreateGetInteger( p_filter->p_parent, "norm-buff-size" );
p_sys->f_max = var_CreateGetFloat( p_filter->p_parent, "norm-max-level" );