]> git.sesse.net Git - vlc/blobdiff - modules/audio_filter/equalizer.c
No need to check for strtof() here
[vlc] / modules / audio_filter / equalizer.c
index 40bbcc16b30e5115cb3b0f3acb5cd5b11b992d5d..512677a963ff83f6d82cfb28fd2b6e97d670c682 100644 (file)
@@ -588,11 +588,7 @@ static int BandsCallback( vlc_object_t *p_this, char const *psz_cmd,
             break;
 
         /* Read dB -20/20 */
-#ifdef HAVE_STRTOF
         f = strtof( p, &psz_next );
-#else
-        f = (float)strtod( p, &psz_next );
-#endif
         if( psz_next == p )
             break; /* no conversion */