Commit ad19397d authored by Jean-Paul Saman's avatar Jean-Paul Saman

iso_lang: oops I meant iso639

parent c12325b4
...@@ -42,7 +42,7 @@ extern "C" { ...@@ -42,7 +42,7 @@ extern "C" {
VLC_EXPORT( const iso639_lang_t *, GetLang_1, ( const char * ) ); VLC_EXPORT( const iso639_lang_t *, GetLang_1, ( const char * ) );
VLC_EXPORT( const iso639_lang_t *, GetLang_2T, ( const char * ) ); VLC_EXPORT( const iso639_lang_t *, GetLang_2T, ( const char * ) );
VLC_EXPORT( const iso639_lang_t *, GetLang_2B, ( const char * ) ); VLC_EXPORT( const iso639_lang_t *, GetLang_2B, ( const char * ) );
VLC_EXPORT( const iso639_lang_t *, GetLang_iso936, ( const char * ) ); VLC_EXPORT( const iso639_lang_t *, GetLang_iso639, ( const char * ) );
#if defined( __cplusplus ) #if defined( __cplusplus )
} }
#endif #endif
......
...@@ -2276,8 +2276,8 @@ static int GetInputEsMeta( input_item_t * p_item, int32_t i_es, ...@@ -2276,8 +2276,8 @@ static int GetInputEsMeta( input_item_t * p_item, int32_t i_es,
if( !strcmp( psz_name, "Language") ) if( !strcmp( psz_name, "Language") )
{ {
const struct iso639_lang_t *code = GetLang_iso936(psz_value); const struct iso639_lang_t *code = GetLang_iso639(psz_value);
char *psz_code = strdup("iso936_1"); char *psz_code = strdup("iso639_1");
psz_variant = NULL; psz_variant = NULL;
......
...@@ -136,7 +136,7 @@ GetFallbackEncoding ...@@ -136,7 +136,7 @@ GetFallbackEncoding
GetLang_1 GetLang_1
GetLang_2B GetLang_2B
GetLang_2T GetLang_2T
GetLang_iso936 GetLang_iso639
httpd_ClientIP httpd_ClientIP
httpd_ClientModeBidir httpd_ClientModeBidir
httpd_ClientModeStream httpd_ClientModeStream
......
...@@ -77,7 +77,7 @@ const iso639_lang_t * GetLang_2B( const char * psz_code ) ...@@ -77,7 +77,7 @@ const iso639_lang_t * GetLang_2B( const char * psz_code )
return &unknown_language; return &unknown_language;
} }
const iso639_lang_t * GetLang_iso936( const char *psz_lang ) const iso639_lang_t * GetLang_iso639( const char *psz_lang )
{ {
const iso639_lang_t *p_lang; const iso639_lang_t *p_lang;
......
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