]> git.sesse.net Git - vlc/commitdiff
Revert "Zip filter: skip .vlt & .wsz (skins)"
authorJean-Philippe André <jpeg@videolan.org>
Tue, 1 Jun 2010 16:07:05 +0000 (00:07 +0800)
committerJean-Philippe André <jpeg@videolan.org>
Wed, 2 Jun 2010 14:16:38 +0000 (22:16 +0800)
This reverts commit 80bd960092525f0af649881ccb6081da1eea4d04.

modules/access/zip/zipstream.c

index c862204def0a570701e0dd9c775dd328018b34b8..ae6316f9bae4fc3ad97c00d77763f86f4f461810 100644 (file)
@@ -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 )