playlist: remove dead code
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 17 Apr 2017 20:15:06 +0000 (23:15 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 18 Apr 2017 18:54:12 +0000 (21:54 +0300)
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.h

index 0f304ed..dca07f5 100644 (file)
@@ -256,15 +256,3 @@ char *ProcessMRL(const char *str, const char *base)
 
     return abs;
 }
-
-/**
- * Checks stream Content-Type against a known one
- */
-bool CheckMimeType( stream_t *stream, const char *mime_type )
-{
-    char* stream_mtype = stream_MimeType( stream );
-    bool const match = stream_mtype && !strcasecmp( mime_type, stream_mtype );
-
-    free( stream_mtype );
-    return match;
-}
index 6a0a5d9..65b7697 100644 (file)
@@ -77,8 +77,6 @@ int Import_Dir ( vlc_object_t * );
 
 extern input_item_t * GetCurrentItem(demux_t *p_demux);
 
-bool CheckMimeType( stream_t * p_stream, const char * psz_ctype );
-
 #define CHECK_FILE() \
 do { \
     if( vlc_stream_Control( ((demux_t *)p_this)->s, \