]> git.sesse.net Git - vlc/commitdiff
Change strtof to us_strtof to avoid some problem
authorCyril Mathé <cmathe@actech-innovation.com>
Tue, 14 Apr 2009 12:45:01 +0000 (14:45 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 17 Apr 2009 17:42:29 +0000 (20:42 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/audio_filter/equalizer.c

index 512677a963ff83f6d82cfb28fd2b6e97d670c682..33b646943764a176179bd5e4029dc2bf41023c4e 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
+#include <vlc_charset.h>
 
 #include "vlc_aout.h"
 
@@ -588,7 +589,8 @@ static int BandsCallback( vlc_object_t *p_this, char const *psz_cmd,
             break;
 
         /* Read dB -20/20 */
-        f = strtof( p, &psz_next );
+        f = us_strtof( p, &psz_next );
+
         if( psz_next == p )
             break; /* no conversion */