]> git.sesse.net Git - vlc/commitdiff
Do not use a GNU extension in public headers
authorRafaël Carré <funman@videolan.org>
Tue, 27 May 2008 11:04:10 +0000 (13:04 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 27 May 2008 23:20:53 +0000 (01:20 +0200)
include/vlc_input.h

index 70bf2b42caee0662f072da1caeb2215b3653b6d8..fd872707948c6a90a67a0ac459c2b4c8803cc7a5 100644 (file)
@@ -35,7 +35,7 @@
 #include <vlc_epg.h>
 #include <vlc_events.h>
 
-#include <string.h>                                     /* strcasestr() */
+#include <string.h>                                     /* strstr() */
 
 struct vlc_meta_t;
 
@@ -173,7 +173,7 @@ static inline bool input_item_MetaMatch( input_item_t *p_i, vlc_meta_type_t meta
         return false;
     }
     const char * meta = vlc_meta_Get( p_i->p_meta, meta_type );
-    bool ret = meta && strcasestr( meta, psz );
+    bool ret = meta && strstr( meta, psz );
     vlc_mutex_unlock( &p_i->lock );
 
     return ret;