vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue Dec 8 10:10:17 2015 +0100| [fc6726dbc086c8d1a93c35aecbe4de4609cb078c] | committer: Jean-Baptiste Kempf
HLS: always use "C" locale to parse float Pointed-by: KO Myung-Hun <[email protected]> Acked-By: Francois Cartegnie <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fc6726dbc086c8d1a93c35aecbe4de4609cb078c --- modules/demux/hls/playlist/Tags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/hls/playlist/Tags.cpp b/modules/demux/hls/playlist/Tags.cpp index c8b0361..9c25fc4 100644 --- a/modules/demux/hls/playlist/Tags.cpp +++ b/modules/demux/hls/playlist/Tags.cpp @@ -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; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
