[Mplayer-cvslog] CVS: main/libmpdemux asf_mmst_streaming.c,1.14,1.15

Alex Beregszaszi alex at mplayerhq.hu
Thu Nov 6 23:29:16 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv15278

Modified Files:
	asf_mmst_streaming.c 
Log Message:
remove uncommon langinfo code and replace it by more common setlocal. patch by Steven M. Schultz <sms at 2BSD.COM>

Index: asf_mmst_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_mmst_streaming.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- asf_mmst_streaming.c	1 Nov 2003 14:43:28 -0000	1.14
+++ asf_mmst_streaming.c	6 Nov 2003 22:28:55 -0000	1.15
@@ -24,7 +24,6 @@
 
 #ifdef USE_ICONV
 #include <locale.h>
-#include <langinfo.h>
 #include <iconv.h>
 #endif
 
@@ -114,7 +113,7 @@
 
 static void string_utf16_open() {
     setlocale(LC_CTYPE, "");
-    url_conv = iconv_open("UTF-16LE",nl_langinfo(CODESET));
+    url_conv = iconv_open("UTF-16LE",setlocale(LC_CTYPE, NULL));
 }
 
 static void string_utf16_close() {



More information about the MPlayer-cvslog mailing list