]> git.sesse.net Git - vlc/commitdiff
zvbi: strcmp->strcasecmp
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 11 Sep 2008 13:02:24 +0000 (15:02 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 11 Sep 2008 13:02:24 +0000 (15:02 +0200)
modules/codec/zvbi.c

index 8218fe6f422cd6198626b6f8d6ce9aa465bc2fc2..468072c2411075bcf6ba2ff22952657da9edf65a 100644 (file)
@@ -214,7 +214,7 @@ static int Open( vlc_object_t *p_this )
      * is known. It would be better if people started sending G0 */
     for( int i = 0; ppsz_default_triplet[i] != NULL; i++ )
     {
-        if( p_dec->fmt_in.psz_language && !strcmp( p_dec->fmt_in.psz_language, ppsz_default_triplet[i] ) )
+        if( p_dec->fmt_in.psz_language && !strcasecmp( p_dec->fmt_in.psz_language, ppsz_default_triplet[i] ) )
         {
             vbi_teletext_set_default_region( p_sys->p_vbi_dec, pi_default_triplet[i]);
             msg_Dbg( p_dec, "overwriting default zvbi region: %d", pi_default_triplet[i] );