Commit e75d1bf1 authored by Jean-Philippe André's avatar Jean-Philippe André

Revert "Zip filter: skip .vlt & .wsz (skins)"

This reverts commit 80bd9600.
parent 005d5696
...@@ -172,18 +172,6 @@ int StreamOpen( vlc_object_t *p_this ) ...@@ -172,18 +172,6 @@ int StreamOpen( vlc_object_t *p_this )
stream_t *s = (stream_t*) p_this; stream_t *s = (stream_t*) p_this;
stream_sys_t *p_sys; 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 */ /* Verify file format */
const uint8_t *p_peek; const uint8_t *p_peek;
if( stream_Peek( s->p_source, &p_peek, i_zip_marker ) < i_zip_marker ) if( stream_Peek( s->p_source, &p_peek, i_zip_marker ) < i_zip_marker )
......
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