Commit f1cfcbfd authored by Thierry's avatar Thierry Committed by Rémi Denis-Courmont

Using fabsf for floating value instead of abs

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent feeb8e7d
......@@ -962,8 +962,8 @@ static int vuMeter_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
p_sample += p_effect->i_nb_chans;
}
i_value_l = abs(i_value_l);
i_value_r = abs(i_value_r);
i_value_l = fabsf(i_value_l);
i_value_r = fabsf(i_value_r);
/* Stay under maximum value admited */
if ( i_value_l > 200 * M_PI_2 )
......
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