diff options
Diffstat (limited to 'stream/asf_mmst_streaming.c')
-rw-r--r-- | stream/asf_mmst_streaming.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stream/asf_mmst_streaming.c b/stream/asf_mmst_streaming.c index 2ca7876ad8..bc0ac277f3 100644 --- a/stream/asf_mmst_streaming.c +++ b/stream/asf_mmst_streaming.c @@ -46,10 +46,10 @@ #endif #ifndef CONFIG_SETLOCALE -#undef HAVE_ICONV +#undef CONFIG_ICONV #endif -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV #include <iconv.h> #ifdef HAVE_LANGINFO #include <langinfo.h> @@ -143,13 +143,13 @@ static void send_command (int s, int command, uint32_t switches, } } -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV static iconv_t url_conv; #endif static void string_utf16(char *dest, char *src, int len) { int i; -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV size_t len1, len2; char *ip, *op; @@ -172,7 +172,7 @@ static void string_utf16(char *dest, char *src, int len) { /* trailing zeroes */ dest[i*2] = 0; dest[i*2+1] = 0; -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV } #endif } @@ -575,7 +575,7 @@ int asf_mmst_streaming_start(stream_t *stream) * */ /* prepare for the url encoding conversion */ -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV #ifdef HAVE_LANGINFO url_conv = iconv_open("UTF-16LE",nl_langinfo(CODESET)); #else @@ -690,7 +690,7 @@ int asf_mmst_streaming_start(stream_t *stream) packet_length1 = packet_length; mp_msg(MSGT_NETWORK,MSGL_INFO,"mmst packet_length = %d\n", packet_length); -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV if (url_conv != (iconv_t)(-1)) iconv_close(url_conv); #endif |