1
0
Fork 0
forked from len0rd/rockbox

outright reject any tags which need a special parser in the wps playlist viewer. There is no intention of even trying to support them and without this possible upcoming changes will cause crashes if any of those tags are used.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24229 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-01-15 01:26:57 +00:00
parent b3cba9021f
commit 51630cbac1

View file

@ -779,7 +779,12 @@ static int parse_playlistview_text(struct playlistviewer *viewer,
taglen = i;
}
else
{
{
if (tag->parse_func)
{
/* unsupported tag, reject */
return -1;
}
taglen = strlen(tag->name);
viewer->lines[line].tokens[viewer->lines[line].count++] = tag->type;
}