[vlc-devel] Add a us_strtof function to avoid problem with comma and point in equalizer

Rémi Denis-Courmont rem at videolan.org
Wed Apr 15 14:44:36 CEST 2009


Le mercredi 15 avril 2009, Cyril MATHE a écrit :
> I don't think so because the configuration are saved and after
> changing LC_NUMERIC they are restored.

Float values are loaded/saved using the US format. But that does not 
apply to strings.

> Furthemore in the QT interface it's done in a similar way.
>
> The code is activated only if there is strtof (HAVE_STRTOF = 1) with
> #define. But I can't do that in libvlccore.sym. Is this a possible
> problem if the user don't have strtof ?

Linking will fail. I don't know if any meaningful platform still suffers 
from that defect though.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list