git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a64087
)
Do not use a GNU extension in public headers
author
Rafaël Carré
<funman@videolan.org>
Tue, 27 May 2008 11:04:10 +0000
(13:04 +0200)
committer
Rafaël Carré
<funman@videolan.org>
Tue, 27 May 2008 23:20:53 +0000
(
01:20
+0200)
include/vlc_input.h
patch
|
blob
|
history
diff --git
a/include/vlc_input.h
b/include/vlc_input.h
index
70bf2b4
..
fd87270
100644
(file)
--- 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> /* str
case
str() */
+#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 && str
case
str( meta, psz );
+ bool ret = meta && strstr( meta, psz );
vlc_mutex_unlock( &p_i->lock );
return ret;