diff options
Diffstat (limited to 'apps/plugins/pictureflow.c')
-rw-r--r-- | apps/plugins/pictureflow.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c index f0931820d5..b78b953f13 100644 --- a/apps/plugins/pictureflow.c +++ b/apps/plugins/pictureflow.c | |||
@@ -927,8 +927,13 @@ bool create_albumart_cache(void) | |||
927 | input_bmp.data = buf; | 927 | input_bmp.data = buf; |
928 | input_bmp.width = DISPLAY_WIDTH; | 928 | input_bmp.width = DISPLAY_WIDTH; |
929 | input_bmp.height = DISPLAY_HEIGHT; | 929 | input_bmp.height = DISPLAY_HEIGHT; |
930 | #if PLUGIN_BUFFER_SIZE > 0x10000 | ||
930 | ret = read_image_file(albumart_file, &input_bmp, | 931 | ret = read_image_file(albumart_file, &input_bmp, |
931 | buf_size, format, &format_transposed); | 932 | buf_size, format, &format_transposed); |
933 | #else | ||
934 | ret = scaled_read_bmp_file(albumart_file, &input_bmp, | ||
935 | buf_size, format, &format_transposed); | ||
936 | #endif | ||
932 | if (ret <= 0) { | 937 | if (ret <= 0) { |
933 | rb->splash(HZ, "Could not read bmp"); | 938 | rb->splash(HZ, "Could not read bmp"); |
934 | continue; /* skip missing/broken files */ | 939 | continue; /* skip missing/broken files */ |