diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-24 04:09:29 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-24 04:09:29 +0000 |
commit | 7215a67e643d4266d7f9702a66fb93f84cb5ff67 (patch) | |
tree | f8dbf8dd49ac6a7c66ec168ef6d75b654358145b /apps/recorder/albumart.c | |
parent | b0befadad1d9ec691ba647b948422e66a43f3674 (diff) | |
download | rockbox-7215a67e643d4266d7f9702a66fb93f84cb5ff67.tar.gz rockbox-7215a67e643d4266d7f9702a66fb93f84cb5ff67.zip |
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
Diffstat (limited to 'apps/recorder/albumart.c')
-rw-r--r-- | apps/recorder/albumart.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
204 | return true; | 204 | return true; |
205 | } | 205 | } |
206 | 206 | ||
207 | #ifdef HAVE_ALBUMART | ||
207 | /* Look for albumart bitmap in the same dir as the track and in its parent dir. | 208 | /* Look for albumart bitmap in the same dir as the track and in its parent dir. |
208 | * Stores the found filename in the buf parameter. | 209 | * Stores the found filename in the buf parameter. |
209 | * Returns true if a bitmap was found, false otherwise */ | 210 | * Returns true if a bitmap was found, false otherwise */ |
@@ -306,3 +307,4 @@ void get_albumart_size(struct bitmap *bmp) | |||
306 | bmp->width = data->albumart_max_width; | 307 | bmp->width = data->albumart_max_width; |
307 | bmp->height = data->albumart_max_height; | 308 | bmp->height = data->albumart_max_height; |
308 | } | 309 | } |
310 | #endif /* HAVE_ALBUMART */ | ||