Commit a627b3ec authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

HLS: always use "C" locale to parse float

Pointed-by: default avatarKO Myung-Hun <komh78@gmail.com>
Acked-By: François Cartegnie's avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent dd225aba
......@@ -45,7 +45,7 @@ uint64_t Attribute::decimal() const
double Attribute::floatingPoint() const
{
std::istringstream is(value);
is.imbue(std::locale(""));
is.imbue(std::locale("C"));
double ret;
is >> ret;
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment