[vlc-devel] commit: Change strtof to us_strtof to avoid some problem ( Cyril Mathé )

git version control git at videolan.org
Fri Apr 17 19:49:56 CEST 2009


vlc | branch: master | Cyril Mathé <cmathe at actech-innovation.com> | Tue Apr 14 14:45:01 2009 +0200| [07d5700da42dddc90ff2a455c1f505b9f6113564] | committer: Rémi Denis-Courmont 

Change strtof to us_strtof to avoid some problem

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=07d5700da42dddc90ff2a455c1f505b9f6113564
---

 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 */
 




More information about the vlc-devel mailing list