mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
Changed strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
Original commit message from CVS: Changed strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
This commit is contained in:
parent
9c65247b62
commit
393bd81d25
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ gst_props_entry_from_string_no_name (gchar *s, gchar **after, gboolean has_type)
|
|||
}
|
||||
if (type == GST_PROPS_INVALID_TYPE || type == GST_PROPS_FLOAT_TYPE) {
|
||||
gdouble d;
|
||||
d = strtod (check, &end);
|
||||
d = g_ascii_strtod (check, &end);
|
||||
while (g_ascii_isspace (*end)) end++;
|
||||
if (*end == '\0' || *end == ',' || *end == ';' || *end == ')' || *end == ']') {
|
||||
*after = end;
|
||||
|
|
Loading…
Reference in a new issue