aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lin <dtwlin@google.com>2017-03-08 01:47:39 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-08 01:47:39 +0000
commit284144fb5d932d698945794ec705cc49d6155fbb (patch)
treee4f64c2f96d05042bcefa775cc9c7e343f2dd85c
parent84bee3aac841e4d5cfe522c73c8f48f2632175f7 (diff)
parent393e365802711fb6969858f79d80104399d140c0 (diff)
downloadsquashfs-tools-284144fb5d932d698945794ec705cc49d6155fbb.tar.gz
lz4_wrapper: Update liblz4 to v1.7.5 am: 98855f8eda
am: 393e365802 Change-Id: Id48e5c248452055447c47d368c33d8c00e48dde3
-rw-r--r--squashfs-tools/lz4_wrapper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/squashfs-tools/lz4_wrapper.c b/squashfs-tools/lz4_wrapper.c
index b87cfe0..3c24971 100644
--- a/squashfs-tools/lz4_wrapper.c
+++ b/squashfs-tools/lz4_wrapper.c
@@ -226,9 +226,10 @@ static int lz4_compress(void *strm, void *dest, void *src, int size,
int res;
if(hc)
- res = LZ4_compressHC_limitedOutput(src, dest, size, block_size);
+ res = LZ4_compress_HC(src, dest, size, block_size,
+ LZ4HC_CLEVEL_DEFAULT);
else
- res = LZ4_compress_limitedOutput(src, dest, size, block_size);
+ res = LZ4_compress_default(src, dest, size, block_size);
if(res == 0) {
/*