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:
parent
b3cba9021f
commit
51630cbac1
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue