From 2c3b8946fa62d7b127f96615e8021b0b7bd48e33 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Wed, 19 May 2010 12:55:31 +0300 Subject: [PATCH] taglib: only try to read local files --- modules/meta_engine/taglib.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp index 7beab4476d..198d14476f 100644 --- a/modules/meta_engine/taglib.cpp +++ b/modules/meta_engine/taglib.cpp @@ -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) -- 2.39.2