From: Jean-Philippe André Date: Tue, 1 Jun 2010 16:07:05 +0000 (+0800) Subject: Revert "Zip filter: skip .vlt & .wsz (skins)" X-Git-Tag: 1.2.0-pre1~6348 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e75d1bf151b7666c543934cf078e38a005269348;p=vlc Revert "Zip filter: skip .vlt & .wsz (skins)" This reverts commit 80bd960092525f0af649881ccb6081da1eea4d04. --- diff --git a/modules/access/zip/zipstream.c b/modules/access/zip/zipstream.c index c862204def..ae6316f9ba 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 )