Commit 005d5696 authored by Jean-Philippe André's avatar Jean-Philippe André

Revert "Decomp filter: skip .vlc & .wsz files (skins)"

This reverts commit 3acea644.
parent 8328b699
...@@ -267,18 +267,6 @@ static int Control (stream_t *stream, int query, va_list args) ...@@ -267,18 +267,6 @@ static int Control (stream_t *stream, int query, va_list args)
*/ */
static int Open (stream_t *stream, const char *path) 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)); stream_sys_t *p_sys = stream->p_sys = malloc (sizeof (*p_sys));
if (p_sys == NULL) if (p_sys == NULL)
return VLC_ENOMEM; return VLC_ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment