diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-20 13:22:53 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-20 13:22:53 +0000 |
commit | 6e450282a69f5437b737872d798c611cbe7064ad (patch) | |
tree | c72b2eb58f623ef4ee75c745e8bda5361ddc470b /libmpdemux | |
parent | 6974dfae6b1db5ed81cfc66ae721f8a36d42bfda (diff) | |
download | mpv-6e450282a69f5437b737872d798c611cbe7064ad.tar.bz2 mpv-6e450282a69f5437b737872d798c611cbe7064ad.tar.xz |
remove all setlocale calls, they break the behaviour of sscanf and
strcasecmp, especially with tr_TR locale - and do not seem to be good for
anything.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/asf_mmst_streaming.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libmpdemux/asf_mmst_streaming.c b/libmpdemux/asf_mmst_streaming.c index bc337dc4ad..d05a9629cc 100644 --- a/libmpdemux/asf_mmst_streaming.c +++ b/libmpdemux/asf_mmst_streaming.c @@ -31,7 +31,6 @@ #ifdef USE_LANGINFO #include <langinfo.h> #endif -#include <locale.h> #endif #include "url.h" @@ -535,11 +534,10 @@ int asf_mmst_streaming_start(stream_t *stream) /* prepare for the url encoding conversion */ #ifdef USE_ICONV - setlocale(LC_CTYPE, ""); #ifdef USE_LANGINFO url_conv = iconv_open("UTF-16LE",nl_langinfo(CODESET)); #else - url_conv = iconv_open("UTF-16LE",setlocale(LC_CTYPE, NULL)); + url_conv = iconv_open("UTF-16LE", NULL); #endif #endif |