albumart search in pluginlib when building without HAVE_ALBUMART (for later use by pictureflow)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19835 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-01-24 04:09:29 +00:00
parent b0befadad1
commit 7215a67e64
6 changed files with 48 additions and 1 deletions

View file

@ -204,6 +204,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
return true;
}
#ifdef HAVE_ALBUMART
/* Look for albumart bitmap in the same dir as the track and in its parent dir.
* Stores the found filename in the buf parameter.
* Returns true if a bitmap was found, false otherwise */
@ -306,3 +307,4 @@ void get_albumart_size(struct bitmap *bmp)
bmp->width = data->albumart_max_width;
bmp->height = data->albumart_max_height;
}
#endif /* HAVE_ALBUMART */