Commit dc36a804 authored by Laurent Aimar's avatar Laurent Aimar

Fixed compilation after FromCharset.

parent 599c47de
...@@ -139,6 +139,7 @@ filter_DeleteBlend ...@@ -139,6 +139,7 @@ filter_DeleteBlend
filter_NewBlend filter_NewBlend
FromLocale FromLocale
FromLocaleDup FromLocaleDup
FromCharset
GetFallbackEncoding GetFallbackEncoding
GetLang_1 GetLang_1
GetLang_2B GetLang_2B
......
...@@ -373,7 +373,7 @@ const char *IsUTF8( const char *str ) ...@@ -373,7 +373,7 @@ const char *IsUTF8( const char *str )
* @return a nul-terminated utf-8 string, or null in case of error. * @return a nul-terminated utf-8 string, or null in case of error.
* The result must be freed using free(). * The result must be freed using free().
*/ */
static char *FromCharset(const char *charset, const void *data, size_t data_size) char *FromCharset(const char *charset, const void *data, size_t data_size)
{ {
vlc_iconv_t handle = vlc_iconv_open ("UTF-8", charset); vlc_iconv_t handle = vlc_iconv_open ("UTF-8", charset);
if (handle == (vlc_iconv_t)(-1)) if (handle == (vlc_iconv_t)(-1))
......
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