diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-02-09 20:22:55 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-09 20:22:55 +0000 |
commit | 82eec87dd65442c2a7e134dcb89ffc6d07fe5a4b (patch) | |
tree | 98ec237b4eee2645929eaa8dbe2808cddf0e3cf8 /apps/metadata | |
parent | f577a6a22c646669e56c5436859d2f5ec8b421e8 (diff) | |
download | rockbox-82eec87dd65442c2a7e134dcb89ffc6d07fe5a4b.tar.gz rockbox-82eec87dd65442c2a7e134dcb89ffc6d07fe5a4b.zip |
Fix red. Not all targets have album art support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29260 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata')
-rw-r--r-- | apps/metadata/id3tags.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/metadata/id3tags.c b/apps/metadata/id3tags.c index a20a59f06e..9ee183a1b3 100644 --- a/apps/metadata/id3tags.c +++ b/apps/metadata/id3tags.c @@ -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); |