diff options
author | Roman Artiukhin <bahusdrive@gmail.com> | 2024-10-14 21:33:40 +0300 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-10-28 12:46:51 -0400 |
commit | 55a5bfe7409677a26437651798abbc6d87b56089 (patch) | |
tree | 7ab7d96f52ee15257b174e75f15abae1f09b74cf /apps/plugins/imageviewer/gif/gif.c | |
parent | c1bcebd9986b1e2120fd05ead67754d444dae7d3 (diff) | |
download | rockbox-55a5bfe7409677a26437651798abbc6d87b56089.tar.gz rockbox-55a5bfe7409677a26437651798abbc6d87b56089.zip |
View Album Art from WPS context menu
Add ability to imageviewer to view current track embedded/folder album art
Add "View Album Art" WPS context menu item
Change-Id: I49caebd38e5e3e2910d418bbeaa5e51da0e6bd93
Diffstat (limited to 'apps/plugins/imageviewer/gif/gif.c')
-rw-r--r-- | apps/plugins/imageviewer/gif/gif.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/gif/gif.c b/apps/plugins/imageviewer/gif/gif.c index 0521c29e3a..61ff1a6146 100644 --- a/apps/plugins/imageviewer/gif/gif.c +++ b/apps/plugins/imageviewer/gif/gif.c | |||
@@ -76,8 +76,11 @@ static int img_mem(int ds) | |||
76 | } | 76 | } |
77 | 77 | ||
78 | static int load_image(char *filename, struct image_info *info, | 78 | static int load_image(char *filename, struct image_info *info, |
79 | unsigned char *buf, ssize_t *buf_size) | 79 | unsigned char *buf, ssize_t *buf_size, |
80 | int offset, int filesize) | ||
80 | { | 81 | { |
82 | (void)offset;(void)filesize; | ||
83 | |||
81 | int w, h; | 84 | int w, h; |
82 | long time = 0; /* measured ticks */ | 85 | long time = 0; /* measured ticks */ |
83 | struct gif_decoder *p_decoder = &decoder; | 86 | struct gif_decoder *p_decoder = &decoder; |