[vlc-commits] commit: Ignored language specified as 'und' (close #4077). (Laurent Aimar )
git at videolan.org
git at videolan.org
Wed Aug 18 22:39:52 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | 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( "" );
}
More information about the vlc-commits
mailing list