[PATCH] Change strtof to us_strtof to avoid some problem

Cyril Mathé cmathe at actech-innovation.com
Tue Apr 14 14:45:01 CEST 2009


---
 modules/audio_filter/equalizer.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/audio_filter/equalizer.c b/modules/audio_filter/equalizer.c
index 512677a..33b6469 100644
--- a/modules/audio_filter/equalizer.c
+++ b/modules/audio_filter/equalizer.c
@@ -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 */
 
-- 
1.5.4.3


--=-4ChgCjgYRM9f6Sk6VGml--



More information about the vlc-devel mailing list