summaryrefslogtreecommitdiff
path: root/src/modules/evas/image_savers
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-16 10:14:44 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-16 10:14:44 +0100
commit216f738acfa8b0b328096f0328166fded9a17183 (patch)
treef8a3f276a8badcd1c3fd749e9c70066017e26990 /src/modules/evas/image_savers
parent3c6c7c9be6892fd8958d7633e66e0ac7fefeed1d (diff)
image_savers/jpeg: actually properly fixed the jump
Diffstat (limited to 'src/modules/evas/image_savers')
-rw-r--r--src/modules/evas/image_savers/jpeg/evas_image_save_jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/image_savers/jpeg/evas_image_save_jpeg.c b/src/modules/evas/image_savers/jpeg/evas_image_save_jpeg.c
index 3ef082e6dc..27eac7ac01 100644
--- a/src/modules/evas/image_savers/jpeg/evas_image_save_jpeg.c
+++ b/src/modules/evas/image_savers/jpeg/evas_image_save_jpeg.c
@@ -73,7 +73,7 @@ save_image_jpeg(RGBA_Image *im, const char *file, int quality)
73 jerr.pub.error_exit = _JPEGFatalErrorHandler; 73 jerr.pub.error_exit = _JPEGFatalErrorHandler;
74 jerr.pub.emit_message = _JPEGErrorHandler2; 74 jerr.pub.emit_message = _JPEGErrorHandler2;
75 jerr.pub.output_message = _JPEGErrorHandler; 75 jerr.pub.output_message = _JPEGErrorHandler;
76 if (sigsetjmp(jerr.setjmp_buffer, 1)) 76 if (setjmp(jerr.setjmp_buffer))
77 { 77 {
78 jpeg_destroy_compress(&cinfo); 78 jpeg_destroy_compress(&cinfo);
79 fclose(f); 79 fclose(f);