Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/modules/savers/jpeg
Modified Files:
evas_image_save_jpeg.c
Log Message:
tiff saver and more checks
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/savers/jpeg/evas_image_save_jpeg.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_image_save_jpeg.c 15 Jan 2006 10:32:25 -0000 1.1
+++ evas_image_save_jpeg.c 10 Apr 2006 07:26:45 -0000 1.2
@@ -63,6 +63,9 @@
JSAMPROW *jbuf;
int y = 0;
int i, j;
+
+ if (!im || !im->image || !im->image->data || !file)
+ return 0;
buf = alloca(im->image->w * 3 * sizeof(DATA8));
f = fopen(file, "wb");
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs