1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00

Do not use a GNU extension in public headers

This commit is contained in:
Rafaël Carré 2008-05-27 13:04:10 +02:00
parent 2a64087b4c
commit a095d6b7e6

View 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;