[vlc-commits] commit: taglib: only try to read local files (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Thu May 20 12:14:21 CEST 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed May 19 12:55:31 2010 +0300| [2c3b8946fa62d7b127f96615e8021b0b7bd48e33] | committer: Ilkka Ollakka
taglib: only try to read local files
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c3b8946fa62d7b127f96615e8021b0b7bd48e33
---
modules/meta_engine/taglib.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index 7beab44..198d144 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)
More information about the vlc-commits
mailing list