]> git.sesse.net Git - vlc/commitdiff
Revert "Decomp filter: skip .vlc & .wsz files (skins)"
authorJean-Philippe André <jpeg@videolan.org>
Tue, 1 Jun 2010 16:06:53 +0000 (00:06 +0800)
committerJean-Philippe André <jpeg@videolan.org>
Wed, 2 Jun 2010 14:16:37 +0000 (22:16 +0800)
This reverts commit 3acea6444dca179ef35358917b8595e02beeb0e3.

modules/stream_filter/decomp.c

index dbca917f144c46f305b7cb8991ccb1717225f48b..ec81167af85f61842d26267c2f46e52349297bbe 100644 (file)
@@ -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;