summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-12-10 14:47:42 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-12-10 14:52:58 +0100
commit4d2373e03d3ff1a200e88fa38d55221480290e07 (patch)
treed711186c4cf6073c0748e8a23d45754179a0d431 /src/modules
parent446897bf3df939cbea0284fff0ec393efc64a7b7 (diff)
modules/tgv: Switch from obsolete LZ4_uncompress function to LZ4_decompress_fast
The function is declared as obsolete and in some newer headers it is no longer defined. The new function is the same besides the name change.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/loaders/tgv/evas_image_load_tgv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/loaders/tgv/evas_image_load_tgv.c b/src/modules/evas/loaders/tgv/evas_image_load_tgv.c
index 878b758a2d..b715017831 100644
--- a/src/modules/evas/loaders/tgv/evas_image_load_tgv.c
+++ b/src/modules/evas/loaders/tgv/evas_image_load_tgv.c
@@ -415,8 +415,8 @@ evas_image_load_file_data_tgv(void *loader_data,
415 415
416 if (loader->compress) 416 if (loader->compress)
417 { 417 {
418 expand_length = LZ4_uncompress(data_start, buffer, 418 expand_length = LZ4_decompress_fast(data_start, buffer,
419 block_count * etc_block_size); 419 block_count * etc_block_size);
420 // That's an overhead for now, need to be fixed 420 // That's an overhead for now, need to be fixed
421 if (expand_length != block_length) 421 if (expand_length != block_length)
422 goto on_error; 422 goto on_error;