]> git.sesse.net Git - vlc/commitdiff
taglib: only try to read local files
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 19 May 2010 09:55:31 +0000 (12:55 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 20 May 2010 10:13:29 +0000 (13:13 +0300)
modules/meta_engine/taglib.cpp

index 7beab4476d4a75da6272cd48a3cdcbbd7f2de4a7..198d14476f0d5e2e5a10b8a58c7dfcc6ec856eb3 100644 (file)
@@ -335,6 +335,8 @@ static int ReadMeta( vlc_object_t* p_this)
     p_demux_meta->p_meta = NULL;
     if( !psz_path )
         return VLC_ENOMEM;
+    if( strncmp( p_demux->psz_access, "file", strlen("file") ) )
+        return VLC_EGENERIC;
 
 
 #if defined(WIN32) || defined (UNDER_CE)