summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/imageviewer/jpeg/jpeg_decoder.c1
-rw-r--r--apps/plugins/pictureflow/pictureflow.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/imageviewer/jpeg/jpeg_decoder.c b/apps/plugins/imageviewer/jpeg/jpeg_decoder.c
index 3c43c5d303..0adff53788 100644
--- a/apps/plugins/imageviewer/jpeg/jpeg_decoder.c
+++ b/apps/plugins/imageviewer/jpeg/jpeg_decoder.c
@@ -1423,6 +1423,7 @@ int jpeg_decode(struct jpeg* p_jpeg, unsigned char* p_pixel[1], int downscale,
1423 else return -1; /* not supported */ 1423 else return -1; /* not supported */
1424 1424
1425 /* init bitstream, fake a restart to make it start */ 1425 /* init bitstream, fake a restart to make it start */
1426 bs.get_buffer = 0;
1426 bs.next_input_byte = p_jpeg->p_entropy_data; 1427 bs.next_input_byte = p_jpeg->p_entropy_data;
1427 bs.bits_left = 0; 1428 bs.bits_left = 0;
1428 bs.input_end = p_jpeg->p_entropy_end; 1429 bs.input_end = p_jpeg->p_entropy_end;
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index 1b9683460e..224dc81667 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -2645,7 +2645,7 @@ static void error_wait(const char *message)
2645 Main function that also contain the main plasma 2645 Main function that also contain the main plasma
2646 algorithm. 2646 algorithm.
2647 */ 2647 */
2648static int main(void) 2648static int pictureflow_main(void)
2649{ 2649{
2650 int ret; 2650 int ret;
2651 2651
@@ -2963,7 +2963,7 @@ enum plugin_status plugin_start(const void *parameter)
2963 buf = (void*)(grey_buf_used + (char*)buf); 2963 buf = (void*)(grey_buf_used + (char*)buf);
2964#endif 2964#endif
2965 2965
2966 ret = main(); 2966 ret = pictureflow_main();
2967 if ( ret == PLUGIN_OK || ret == PLUGIN_GOTO_WPS) { 2967 if ( ret == PLUGIN_OK || ret == PLUGIN_GOTO_WPS) {
2968 if (configfile_save(CONFIG_FILE, config, CONFIG_NUM_ITEMS, 2968 if (configfile_save(CONFIG_FILE, config, CONFIG_NUM_ITEMS,
2969 CONFIG_VERSION)) 2969 CONFIG_VERSION))