From: Jean-Philippe André Date: Tue, 1 Jun 2010 16:06:53 +0000 (+0800) Subject: Revert "Decomp filter: skip .vlc & .wsz files (skins)" X-Git-Tag: 1.2.0-pre1~6349 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=005d56964da71bbca9219e96147fab2074abfc49;p=vlc Revert "Decomp filter: skip .vlc & .wsz files (skins)" This reverts commit 3acea6444dca179ef35358917b8595e02beeb0e3. --- diff --git a/modules/stream_filter/decomp.c b/modules/stream_filter/decomp.c index dbca917f14..ec81167af8 100644 --- a/modules/stream_filter/decomp.c +++ b/modules/stream_filter/decomp.c @@ -267,18 +267,6 @@ static int Control (stream_t *stream, int query, va_list args) */ static int Open (stream_t *stream, const char *path) { - /* Verify file extension: discard .vlt files (skins) */ - char *psz_ext = strrchr (stream->psz_path, '.'); - if (psz_ext) - { - if (!strncasecmp(psz_ext, ".vlt", 4) || - !strncasecmp(psz_ext, ".wsz", 4)) - { - msg_Dbg (stream, "skipping skins package (*.vlt, *.wsz)"); - return VLC_EGENERIC; - } - } - stream_sys_t *p_sys = stream->p_sys = malloc (sizeof (*p_sys)); if (p_sys == NULL) return VLC_ENOMEM;