summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/jpeg
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/imageviewer/jpeg')
-rw-r--r--apps/plugins/imageviewer/jpeg/jpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/jpeg/jpeg.c b/apps/plugins/imageviewer/jpeg/jpeg.c
index 511a705..3d8c9c3 100644
--- a/apps/plugins/imageviewer/jpeg/jpeg.c
+++ b/apps/plugins/imageviewer/jpeg/jpeg.c
@@ -190,8 +190,9 @@ static int load_image(char *filename, struct image_info *info,
return PLUGIN_OK;
}
-static int get_image(struct image_info *info, int ds)
+static int get_image(struct image_info *info, int frame, int ds)
{
+ (void)frame;
int w, h; /* used to center output */
int size; /* decompressed image size */
long time; /* measured ticks */