Commit a095d6b7 authored by Rafaël Carré's avatar Rafaël Carré

Do not use a GNU extension in public headers

parent 2a64087b
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <vlc_epg.h> #include <vlc_epg.h>
#include <vlc_events.h> #include <vlc_events.h>
#include <string.h> /* strcasestr() */ #include <string.h> /* strstr() */
struct vlc_meta_t; struct vlc_meta_t;
...@@ -173,7 +173,7 @@ static inline bool input_item_MetaMatch( input_item_t *p_i, vlc_meta_type_t meta ...@@ -173,7 +173,7 @@ static inline bool input_item_MetaMatch( input_item_t *p_i, vlc_meta_type_t meta
return false; return false;
} }
const char * meta = vlc_meta_Get( p_i->p_meta, meta_type ); 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 ); vlc_mutex_unlock( &p_i->lock );
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment