[vlc-devel] commit: Fixed compilation after FromCharset. (Laurent Aimar )

git version control git at videolan.org
Mon Jan 25 23:16:06 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 25 23:15:06 2010 +0100| [dc36a8047975636c1cb131f75b050f350a89c1d2] | committer: Laurent Aimar 

Fixed compilation after FromCharset.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dc36a8047975636c1cb131f75b050f350a89c1d2
---

 src/libvlccore.sym |    1 +
 src/text/unicode.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 93bd730..efa2ac5 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -139,6 +139,7 @@ filter_DeleteBlend
 filter_NewBlend
 FromLocale
 FromLocaleDup
+FromCharset
 GetFallbackEncoding
 GetLang_1
 GetLang_2B
diff --git a/src/text/unicode.c b/src/text/unicode.c
index 8a86417..e85be35 100644
--- a/src/text/unicode.c
+++ b/src/text/unicode.c
@@ -373,7 +373,7 @@ const char *IsUTF8( const char *str )
  * @return a nul-terminated utf-8 string, or null in case of error.
  * 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);
     if (handle == (vlc_iconv_t)(-1))




More information about the vlc-devel mailing list