summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/imageviewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.h')
-rw-r--r--apps/plugins/imageviewer/imageviewer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.h b/apps/plugins/imageviewer/imageviewer.h
index 44e56c0696..79691f747e 100644
--- a/apps/plugins/imageviewer/imageviewer.h
+++ b/apps/plugins/imageviewer/imageviewer.h
@@ -126,7 +126,7 @@ struct image_decoder {
126 * size of buf after load image. it is used to calculate min downscale. 126 * size of buf after load image. it is used to calculate min downscale.
127 * return PLUGIN_ERROR for error. ui will skip to next image. */ 127 * return PLUGIN_ERROR for error. ui will skip to next image. */
128 int (*load_image)(char *filename, struct image_info *info, 128 int (*load_image)(char *filename, struct image_info *info,
129 unsigned char *buf, ssize_t *buf_size); 129 unsigned char *buf, ssize_t *buf_size, int offset, int filesize);
130 /* downscale loaded image by ds. use the buffer passed to load_image to 130 /* downscale loaded image by ds. use the buffer passed to load_image to
131 * reszie image and/or store resized image. 131 * reszie image and/or store resized image.
132 * return PLUGIN_ERROR for error. ui will skip to next image. */ 132 * return PLUGIN_ERROR for error. ui will skip to next image. */