]> git.sesse.net Git - vlc/commitdiff
Ignored language specified as 'und' (close #4077).
authorLaurent Aimar <fenrir@videolan.org>
Wed, 18 Aug 2010 20:38:14 +0000 (22:38 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 18 Aug 2010 20:38:14 +0000 (22:38 +0200)
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( "" );
     }