summaryrefslogtreecommitdiff
path: root/src/lib/emile/emile_compress.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2015-03-17 08:50:03 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:17 +0100
commitf9dd639a92399006090ceb57dd141f6b247895f3 (patch)
tree24a8a9f27b55605ec15289eac2c9e41ecd482786 /src/lib/emile/emile_compress.c
parent0fa50a080428bb8c710603cb4208e1786f9365a9 (diff)
eet: use Emile instead of Zlib and LZ4 directly.
Diffstat (limited to '')
-rw-r--r--src/lib/emile/emile_compress.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/emile/emile_compress.c b/src/lib/emile/emile_compress.c
index 4db0ed7bc1..8c3cb9011a 100644
--- a/src/lib/emile/emile_compress.c
+++ b/src/lib/emile/emile_compress.c
@@ -88,9 +88,9 @@ emile_binbuf_expand(const Eina_Binbuf *in,
88 { 88 {
89 int ret; 89 int ret;
90 90
91 ret = LZ4_uncompress((const char*) eina_binbuf_string_get(in), 91 ret = LZ4_decompress_fast((const char*) eina_binbuf_string_get(in),
92 (char*) eina_binbuf_string_get(out), 92 (char*) eina_binbuf_string_get(out),
93 eina_binbuf_length_get(out)); 93 eina_binbuf_length_get(out));
94 if ((unsigned int) ret != eina_binbuf_length_get(in)) 94 if ((unsigned int) ret != eina_binbuf_length_get(in))
95 return EINA_FALSE; 95 return EINA_FALSE;
96 break; 96 break;