summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-03-17 08:50:42 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:20 +0100
commita2385e2ebc6a3bc26e9a79bd17f44a4cd0717887 (patch)
treeafd9ddc53705b284931ffa4c8cafabcd1b8cbef2 /src/lib/eet
parentbbf7ab1cc4d76587042de03beb404f0615af7e0c (diff)
emile: follow convention for Emile_Compressor_Level.
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_image.c2
-rw-r--r--src/lib/eet/eet_lib.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index 1b34b286b5..80e07ddc04 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -1039,7 +1039,7 @@ eet_data_image_etc1_compressed_convert(int *size,
1039 { 1039 {
1040 Eina_Binbuf *out; 1040 Eina_Binbuf *out;
1041 1041
1042 out = emile_binbuf_compress(in, EMILE_LZ4HC, EMILE_BEST_COMPRESSION); 1042 out = emile_binbuf_compress(in, EMILE_LZ4HC, EMILE_COMPRESSOR_BEST);
1043 eina_binbuf_free(in); 1043 eina_binbuf_free(in);
1044 in = out; 1044 in = out;
1045 } 1045 }
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 04c9a05223..b6c1a1676e 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -2209,7 +2209,7 @@ eet_alias(Eet_File *ef,
2209 2209
2210 out = emile_binbuf_compress(in, 2210 out = emile_binbuf_compress(in,
2211 eet_2_emile_compressor(comp), 2211 eet_2_emile_compressor(comp),
2212 EMILE_BEST_COMPRESSION); 2212 EMILE_COMPRESSOR_BEST);
2213 eina_binbuf_free(in); 2213 eina_binbuf_free(in);
2214 if (!out) goto on_error; 2214 if (!out) goto on_error;
2215 2215
@@ -2327,7 +2327,7 @@ eet_write_cipher(Eet_File *ef,
2327 { 2327 {
2328 Eina_Binbuf *out; 2328 Eina_Binbuf *out;
2329 2329
2330 out = emile_binbuf_compress(in, eet_2_emile_compressor(comp), EMILE_BEST_COMPRESSION); 2330 out = emile_binbuf_compress(in, eet_2_emile_compressor(comp), EMILE_COMPRESSOR_BEST);
2331 if (out) 2331 if (out)
2332 { 2332 {
2333 if (eina_binbuf_length_get(out) < eina_binbuf_length_get(in)) 2333 if (eina_binbuf_length_get(out) < eina_binbuf_length_get(in))