[vlc-devel] commit: iconv_macosx: never used, removed ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun May 4 18:22:45 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sun May 4 19:23:56 2008 +0300| [63b51e51868a6babfe9ba15abda5f3311d3acc19]
iconv_macosx: never used, removed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63b51e51868a6babfe9ba15abda5f3311d3acc19
---
src/libvlc.h | 2 --
src/misc/darwin_specific.c | 7 -------
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/libvlc.h b/src/libvlc.h
index e80ca73..5efccbe 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -125,8 +125,6 @@ struct libvlc_global_data_t
char * psz_vlcpath;
#elif defined( __APPLE__ )
char * psz_vlcpath;
- vlc_iconv_t iconv_macosx; /* for HFS+ file names */
- vlc_mutex_t iconv_lock;
#elif defined( WIN32 )
char * psz_vlcpath;
#endif
diff --git a/src/misc/darwin_specific.c b/src/misc/darwin_specific.c
index 7c6d129..f80c783 100644
--- a/src/misc/darwin_specific.c
+++ b/src/misc/darwin_specific.c
@@ -168,9 +168,6 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
}
CFRelease( all_locales );
}
-
- vlc_mutex_init( &vlc_global()->iconv_lock );
- vlc_global()->iconv_macosx = vlc_iconv_open( "UTF-8", "UTF-8-MAC" );
}
/*****************************************************************************
@@ -190,9 +187,5 @@ void system_End( libvlc_int_t *p_this )
{
(void)p_this;
free( vlc_global()->psz_vlcpath );
-
- if ( vlc_global()->iconv_macosx != (vlc_iconv_t)-1 )
- vlc_iconv_close( vlc_global()->iconv_macosx );
- vlc_mutex_destroy( &vlc_global()->iconv_lock );
}
More information about the vlc-devel
mailing list