From 7215a67e643d4266d7f9702a66fb93f84cb5ff67 Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Sat, 24 Jan 2009 04:09:29 +0000 Subject: 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 --- apps/recorder/albumart.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/recorder/albumart.c') diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c index babf63ef1c..e0977f738a 100644 --- a/apps/recorder/albumart.c +++ b/apps/recorder/albumart.c @@ -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 */ -- cgit v1.2.3