Fix red. Not all targets have album art support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29260 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f577a6a22c
commit
82eec87dd6
1 changed files with 2 additions and 1 deletions
|
@ -1022,6 +1022,7 @@ void setid3v2title(int fd, struct mp3entry *entry)
|
|||
if (ptag && !*ptag)
|
||||
*ptag = tag;
|
||||
|
||||
#ifdef HAVE_ALBUMART
|
||||
/* albumart */
|
||||
if ((!entry->embed_albumart) &&
|
||||
((tr->tag_length == 4 && !memcmp( header, "APIC", 4)) ||
|
||||
|
@ -1036,7 +1037,7 @@ void setid3v2title(int fd, struct mp3entry *entry)
|
|||
entry->albumart.type = AA_TYPE_UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
if( tr->ppFunc )
|
||||
bufferpos = tr->ppFunc(entry, tag, bufferpos);
|
||||
|
||||
|
|
Loading…
Reference in a new issue