- /* 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;
- }
- }
-