summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eet/eet_image.c8
-rw-r--r--src/modules/evas/image_savers/tgv/evas_image_save_tgv.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index 2702fcd150..557892570b 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -586,7 +586,6 @@ eet_data_image_etc2_decode(const void *data,
586 Emile_Image_Load_Error error; 586 Emile_Image_Load_Error error;
587 Eina_Bool found = EINA_FALSE; 587 Eina_Bool found = EINA_FALSE;
588 int i; 588 int i;
589 int r = 0;
590 589
591 // Fix for ABI incompatibility between 1.10 and 1.11 590 // Fix for ABI incompatibility between 1.10 and 1.11
592 if (cspace == 8) cspace = 9; 591 if (cspace == 8) cspace = 9;
@@ -655,14 +654,15 @@ eet_data_image_etc2_decode(const void *data,
655 if ((cspace == EMILE_COLORSPACE_ARGB8888) && !prop.premul) 654 if ((cspace == EMILE_COLORSPACE_ARGB8888) && !prop.premul)
656 _eet_argb_premul(p, prop.w * prop.h); 655 _eet_argb_premul(p, prop.w * prop.h);
657 656
658 r = 1; 657 emile_image_close(image);
658 eina_binbuf_free(bin);
659 return 1;
659 660
660 on_error: 661 on_error:
661 ERR("Failed to decode image inside Eet"); 662 ERR("Failed to decode image inside Eet");
662 emile_image_close(image); 663 emile_image_close(image);
663 eina_binbuf_free(bin); 664 eina_binbuf_free(bin);
664 665 return 0;
665 return r;
666} 666}
667 667
668static void * 668static void *
diff --git a/src/modules/evas/image_savers/tgv/evas_image_save_tgv.c b/src/modules/evas/image_savers/tgv/evas_image_save_tgv.c
index c730b24d67..88b2069f1e 100644
--- a/src/modules/evas/image_savers/tgv/evas_image_save_tgv.c
+++ b/src/modules/evas/image_savers/tgv/evas_image_save_tgv.c
@@ -20,9 +20,9 @@
20#include "rg_etc1.h" 20#include "rg_etc1.h"
21 21
22// FIXME: Remove DEBUG 22// FIXME: Remove DEBUG
23#ifndef DEBUG 23//#ifndef DEBUG
24# define DEBUG 24//# define DEBUG
25#endif 25//#endif
26#if defined(DEBUG) && defined(HAVE_CLOCK_GETTIME) && defined(_POSIX_MONOTONIC_CLOCK) 26#if defined(DEBUG) && defined(HAVE_CLOCK_GETTIME) && defined(_POSIX_MONOTONIC_CLOCK)
27# include <time.h> 27# include <time.h>
28# define DEBUG_STATS 28# define DEBUG_STATS