[vlc-commits] commit: Revert "Zip filter: skip .vlt & .wsz (skins)" ( Jean-Philippe André )
git at videolan.org
git at videolan.org
Wed Jun 2 16:20:03 CEST 2010
vlc | branch: master | Jean-Philippe André <jpeg at videolan.org> | Wed Jun 2 00:07:05 2010 +0800| [e75d1bf151b7666c543934cf078e38a005269348] | committer: Jean-Philippe André
Revert "Zip filter: skip .vlt & .wsz (skins)"
This reverts commit 80bd960092525f0af649881ccb6081da1eea4d04.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e75d1bf151b7666c543934cf078e38a005269348
---
modules/access/zip/zipstream.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/modules/access/zip/zipstream.c b/modules/access/zip/zipstream.c
index c862204..ae6316f 100644
--- a/modules/access/zip/zipstream.c
+++ b/modules/access/zip/zipstream.c
@@ -172,18 +172,6 @@ int StreamOpen( vlc_object_t *p_this )
stream_t *s = (stream_t*) p_this;
stream_sys_t *p_sys;
- /* Verify file extension: discard .vlt files (skins) */
- char *psz_ext = strrchr( s->psz_path, '.' );
- if( psz_ext )
- {
- if( !strncasecmp( psz_ext, ".vlt", 4 ) ||
- !strncasecmp( psz_ext, ".wsz", 4 ) )
- {
- msg_Dbg( s, "skipping skins package (*.vlt, *.wsz)" );
- return VLC_EGENERIC;
- }
- }
-
/* Verify file format */
const uint8_t *p_peek;
if( stream_Peek( s->p_source, &p_peek, i_zip_marker ) < i_zip_marker )
More information about the vlc-commits
mailing list