vlc | branch: master | Laurent Aimar <[email protected]> | Wed Aug 18 
22:38:14 2010 +0200| [f8bc940945d6b889303ad34edcdf4f471b228b51] | committer: 
Laurent Aimar 

Ignored language specified as 'und' (close #4077).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8bc940945d6b889303ad34edcdf4f471b228b51
---

 src/input/es_out.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 239cd19..635b2e9 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -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( "" );
     }

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to