[vlc-devel] commit: zvbi: strcmp->strcasecmp (Derk-Jan Hartman )

git version control git at videolan.org
Thu Sep 11 15:26:02 CEST 2008


vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Thu Sep 11 15:02:24 2008 +0200| [17ac0358f0f2542db26984bbdd60177ab3cd8455] | committer: Derk-Jan Hartman 

zvbi: strcmp->strcasecmp
(cherry picked from commit f389f3769fc548fd0ff64dfbfb51f060e6ff5170)

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

 modules/codec/zvbi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index 8218fe6..468072c 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -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] );




More information about the vlc-devel mailing list