aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-14 18:13:57 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-14 18:13:57 +0900
commit7532dee7bb3f5cce324d5c91b76102fa38228efd (patch)
tree884acfcdd653a9b00c30a39e492816fc02e0a39c /src/lib/eet
parenteet - image decode - fix robustness of image decode from eet file (diff)
downloadefl-7532dee7bb3f5cce324d5c91b76102fa38228efd.tar.gz
eet - boyscouting - clean up whitespaces
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index ef825d5c43..38b4c53ba8 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -2382,7 +2382,7 @@ _eet_data_image_decode_inside(const void *data,
default:
{
uLongf dlen = w * h * 4;
-
+
if (uncompress((Bytef *)d, &dlen, (Bytef *)body,
(uLongf)(size - 32)) != Z_OK)
return 0;
@@ -2398,7 +2398,7 @@ _eet_data_image_decode_inside(const void *data,
case EET_COMPRESSION_SUPERFAST:
{
char *dtmp;
-
+
dtmp = malloc(src_w * src_h * 4);
if (!dtmp) return 0;
if (LZ4_decompress_fast((const char *)body,
@@ -2418,12 +2418,12 @@ _eet_data_image_decode_inside(const void *data,
{
Bytef *dtmp;
uLongf dlen = src_w * src_h * 4;
-
+
/* FIXME: This could create a huge alloc. So
compressed data and tile could not always work.*/
dtmp = malloc(dlen);
if (!dtmp) return 0;
-
+
if (uncompress(dtmp, &dlen, (Bytef *)body,
(uLongf)(size - 32)) != Z_OK)
{