[vlc-commits] commit: Ignored language specified as 'und' (close #4077). (Laurent Aimar )

git at videolan.org git at videolan.org
Tue Aug 31 22:21:57 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Aug 18 22:38:14 2010 +0200| [8c62edcfefd1b1fa74a2e22c3fef98cb3c7cb33a] | committer: Rémi Duraffort 

Ignored language specified as 'und' (close #4077).
(cherry picked from commit f8bc940945d6b889303ad34edcdf4f471b228b51)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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 a45f021..839f18f 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( "" );
     }



More information about the vlc-commits mailing list