]> git.sesse.net Git - vlc/blobdiff - src/input/es_out.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / src / input / es_out.c
index 239cd1985f67d686cb7405c59beab32bceff2e04..635b2e9893e310cd60edef9842e26e9c1ccc8da0 100644 (file)
@@ -2712,7 +2712,7 @@ static char *LanguageGetName( const char *psz_code )
 {
     const iso639_lang_t *pl;
 
-    if( psz_code == NULL )
+    if( psz_code == NULL || !strcmp( psz_code, "und" ) )
     {
         return strdup( "" );
     }