[vlc-devel] commit: Do not use a GNU extension in public headers ( Rafaël Carré )
git version control
git at videolan.org
Wed May 28 01:19:23 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue May 27 13:04:10 2008 +0200| [a095d6b7e60913054625b1b7fea710621586ebe9]
Do not use a GNU extension in public headers
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a095d6b7e60913054625b1b7fea710621586ebe9
---
include/vlc_input.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_input.h b/include/vlc_input.h
index 70bf2b4..fd87270 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -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;
More information about the vlc-devel
mailing list