Commit aa61785a authored by Jérome Decoodt's avatar Jérome Decoodt

Fix bug when equalizer-bands is not set. Coding style will be apply soon.

parent 8d605c16
...@@ -311,6 +311,8 @@ static char *preset_list[] = { ...@@ -311,6 +311,8 @@ static char *preset_list[] = {
b_2p = var_GetBool( p_aout, "equalizer-2pass" ); b_2p = var_GetBool( p_aout, "equalizer-2pass" );
vlc_object_release( p_aout ); vlc_object_release( p_aout );
} }
if( !p )
p = "0 0 0 0 0 0 0 0 0 0";
/* Set the preamp slider */ /* Set the preamp slider */
[o_slider_preamp setFloatValue: preamp]; [o_slider_preamp setFloatValue: preamp];
......
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