mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Change strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
Original commit message from CVS: Change strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
This commit is contained in:
parent
393bd81d25
commit
13c11bbedf
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ gst_parse_element_set (gchar *value, GstElement *element, graph_t *graph)
|
|||
gchar *endptr;
|
||||
gdouble d;
|
||||
g_value_init (&v2, G_TYPE_DOUBLE);
|
||||
d = strtod (pos, &endptr);
|
||||
d = g_ascii_strtod (pos, &endptr);
|
||||
if (*endptr != '\0') goto error_conversion;
|
||||
g_value_set_double (&v2, d);
|
||||
if (!g_value_transform (&v2, &v)) goto error_conversion;
|
||||
|
|
Loading…
Reference in a new issue