diff options
Diffstat (limited to 'apps/plugins/imageviewer/png')
-rw-r--r-- | apps/plugins/imageviewer/png/png.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/png/png.c b/apps/plugins/imageviewer/png/png.c index 1916f9c55f..29b6713585 100644 --- a/apps/plugins/imageviewer/png/png.c +++ b/apps/plugins/imageviewer/png/png.c | |||
@@ -226,8 +226,9 @@ static int load_image(char *filename, struct image_info *info, | |||
226 | return PLUGIN_OK; | 226 | return PLUGIN_OK; |
227 | } | 227 | } |
228 | 228 | ||
229 | static int get_image(struct image_info *info, int ds) | 229 | static int get_image(struct image_info *info, int frame, int ds) |
230 | { | 230 | { |
231 | (void)frame; | ||
231 | unsigned char **p_disp = &disp[ds]; /* short cut */ | 232 | unsigned char **p_disp = &disp[ds]; /* short cut */ |
232 | LodePNG_Decoder *p_decoder = &decoder; | 233 | LodePNG_Decoder *p_decoder = &decoder; |
233 | 234 | ||