Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/epeg
Dir : e17/libs/epeg/src/lib
Modified Files:
epeg_main.c
Log Message:
1. image size bounds checks for eet
2. e17 bug
3. color class add fir ibar state of label
4. epeg scales before getting pixel data.
===================================================================
RCS file: /cvs/e/e17/libs/epeg/src/lib/epeg_main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- epeg_main.c 21 Nov 2006 07:56:17 -0000 1.21
+++ epeg_main.c 25 Nov 2006 15:37:45 -0000 1.22
@@ -207,6 +207,8 @@
if (!im->pixels) return NULL;
if ((im->out.w < 1) || (im->out.h < 1)) return NULL;
+ if (_epeg_scale(im) != 0) return NULL;
+
bpp = im->in.jinfo.output_components;
iw = im->out.w;
ih = im->out.h;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs