Commit d73832f9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Eliminate dead code

parent e6a2e27b
...@@ -59,7 +59,7 @@ typedef struct VLCCharsetAlias ...@@ -59,7 +59,7 @@ typedef struct VLCCharsetAlias
* a lot of basic aliases (check it first by iconv -l). * a lot of basic aliases (check it first by iconv -l).
* *
*/ */
#if defined WIN32 || defined OS2 || !HAVE_LANGINFO_CODESET
static const char* vlc_encoding_from_language( const char *l ) static const char* vlc_encoding_from_language( const char *l )
{ {
/* check for language (and perhaps country) codes */ /* check for language (and perhaps country) codes */
...@@ -91,7 +91,7 @@ static const char* vlc_encoding_from_language( const char *l ) ...@@ -91,7 +91,7 @@ static const char* vlc_encoding_from_language( const char *l )
/* We don't know. This ain't working go to default. */ /* We don't know. This ain't working go to default. */
return "ISO-8859-1"; return "ISO-8859-1";
} }
#endif
static const char* vlc_charset_aliases( const char *psz_name ) static const char* vlc_charset_aliases( const char *psz_name )
{ {
...@@ -197,6 +197,7 @@ static const char* vlc_charset_aliases( const char *psz_name ) ...@@ -197,6 +197,7 @@ static const char* vlc_charset_aliases( const char *psz_name )
} }
/* Returns charset from "language_COUNTRY.charset@modifier" string */ /* Returns charset from "language_COUNTRY.charset@modifier" string */
#if defined WIN32 || defined OS2 || !HAVE_LANGINFO_CODESET
static char *vlc_encoding_from_locale( char *psz_locale ) static char *vlc_encoding_from_locale( char *psz_locale )
{ {
char *psz_dot = strchr( psz_locale, '.' ); char *psz_dot = strchr( psz_locale, '.' );
...@@ -224,6 +225,7 @@ static char *vlc_encoding_from_locale( char *psz_locale ) ...@@ -224,6 +225,7 @@ static char *vlc_encoding_from_locale( char *psz_locale )
/* try language mapping */ /* try language mapping */
return (char *)vlc_encoding_from_language( psz_locale ); return (char *)vlc_encoding_from_language( psz_locale );
} }
#endif
vlc_bool_t vlc_current_charset( char **psz_charset ) vlc_bool_t vlc_current_charset( char **psz_charset )
{ {
......
...@@ -57,7 +57,7 @@ static filter_t *CreateFilter( vlc_object_t *, es_format_t *, ...@@ -57,7 +57,7 @@ static filter_t *CreateFilter( vlc_object_t *, es_format_t *,
static void DeleteFilter( filter_t * ); static void DeleteFilter( filter_t * );
static vlc_fourcc_t Ext2Fourcc( const char * ); static vlc_fourcc_t Ext2Fourcc( const char * );
static const char *Fourcc2Ext( vlc_fourcc_t ); /*static const char *Fourcc2Ext( vlc_fourcc_t );*/
/** /**
* Create an image_handler_t instance * Create an image_handler_t instance
...@@ -471,6 +471,7 @@ static vlc_fourcc_t Ext2Fourcc( const char *psz_name ) ...@@ -471,6 +471,7 @@ static vlc_fourcc_t Ext2Fourcc( const char *psz_name )
return 0; return 0;
} }
/*
static const char *Fourcc2Ext( vlc_fourcc_t i_codec ) static const char *Fourcc2Ext( vlc_fourcc_t i_codec )
{ {
int i; int i;
...@@ -482,6 +483,7 @@ static const char *Fourcc2Ext( vlc_fourcc_t i_codec ) ...@@ -482,6 +483,7 @@ static const char *Fourcc2Ext( vlc_fourcc_t i_codec )
return NULL; return NULL;
} }
*/
static void video_release_buffer( picture_t *p_pic ) static void video_release_buffer( picture_t *p_pic )
{ {
......
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