Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/epeg

Dir     : e17/libs/epeg/src/lib


Modified Files:
        epeg_main.c 


Log Message:


save anyway if output > input size

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/epeg/src/lib/epeg_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- epeg_main.c 10 Jun 2004 06:39:59 -0000      1.9
+++ epeg_main.c 28 Mar 2005 03:08:50 -0000      1.10
@@ -925,8 +925,8 @@
    unsigned char *dst, *row, *src;
    int            x, y, w, h, i;
    
-   if ((im->in.w == im->out.w) && (im->in.h == im->out.h)) return 1;
-   if (im->scaled) return 1;
+   if ((im->in.w == im->out.w) && (im->in.h == im->out.h)) return 0;
+   if (im->scaled) return 0;
    
    im->scaled = 1;
    w = im->out.w;
@@ -1049,7 +1049,7 @@
 {
    void  *data = NULL;
    size_t size = 0;
-   
+
    if (im->out.f) return 1;
    
    if (im->out.file)




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to