forked from len0rd/rockbox
PictureFlow JPEG AA support for all non-mono targets (mono targets will need overlay for this).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20841 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3d4c68bb06
commit
a8912a0c41
1 changed files with 3 additions and 2 deletions
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include "plugin.h"
|
||||
#include <albumart.h>
|
||||
#include "lib/read_image.h"
|
||||
#include "lib/pluginlib_actions.h"
|
||||
#include "lib/helper.h"
|
||||
#include "lib/configfile.h"
|
||||
|
@ -926,8 +927,8 @@ bool create_albumart_cache(void)
|
|||
input_bmp.data = buf;
|
||||
input_bmp.width = DISPLAY_WIDTH;
|
||||
input_bmp.height = DISPLAY_HEIGHT;
|
||||
ret = scaled_read_bmp_file(albumart_file, &input_bmp,
|
||||
buf_size, format, &format_transposed);
|
||||
ret = read_image_file(albumart_file, &input_bmp,
|
||||
buf_size, format, &format_transposed);
|
||||
if (ret <= 0) {
|
||||
rb->splash(HZ, "Could not read bmp");
|
||||
continue; /* skip missing/broken files */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue