@ -733,7 +733,7 @@ static int lang_table_compare(const void *lhs, const void *rhs)
return strcmp ( lhs , ( ( const LangEntry * ) rhs ) - > str ) ;
return strcmp ( lhs , ( ( const LangEntry * ) rhs ) - > str ) ;
}
}
const char * av _convert_lang_to( const char * lang , enum AVLangCodespace target_codespace )
const char * ff _convert_lang_to( const char * lang , enum AVLangCodespace target_codespace )
{
{
int i ;
int i ;
const LangEntry * entry = NULL ;
const LangEntry * entry = NULL ;
@ -759,7 +759,14 @@ const char *av_convert_lang_to(const char *lang, enum AVLangCodespace target_cod
entry = lang_table + entry - > next_equivalent ;
entry = lang_table + entry - > next_equivalent ;
if ( target_codespace = = AV_LANG_ISO639_2_TERM )
if ( target_codespace = = AV_LANG_ISO639_2_TERM )
return av _convert_lang_to( lang , AV_LANG_ISO639_2_BIBL ) ;
return ff _convert_lang_to( lang , AV_LANG_ISO639_2_BIBL ) ;
return NULL ;
return NULL ;
}
}
# if LIBAVFORMAT_VERSION_MAJOR < 58
const char * av_convert_lang_to ( const char * lang , enum AVLangCodespace target_codespace )
{
return ff_convert_lang_to ( lang , target_codespace ) ;
}
# endif