summaryrefslogtreecommitdiffstats
path: root/programs/lz4io.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-05-03 19:57:21 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-05-03 19:57:21 (GMT)
commite05088d0eb500d8d673e081929620e538df3d718 (patch)
treee2d9a3b37d7ebc61a27877565197d4189b99beac /programs/lz4io.c
parentb4348a47189f7bce93537a85906d26b09be7e802 (diff)
downloadlz4-e05088d0eb500d8d673e081929620e538df3d718.zip
lz4-e05088d0eb500d8d673e081929620e538df3d718.tar.gz
lz4-e05088d0eb500d8d673e081929620e538df3d718.tar.bz2
Updated lz4hc API
Diffstat (limited to 'programs/lz4io.c')
-rw-r--r--programs/lz4io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c
index 16fc879..15c93f4 100644
--- a/programs/lz4io.c
+++ b/programs/lz4io.c
@@ -347,7 +347,7 @@ int LZ4IO_compressFilename_Legacy(const char* input_filename, const char* output
/* Init */
start = clock();
- if (compressionlevel < 3) compressionFunction = LZ4IO_LZ4_compress; else compressionFunction = LZ4_compressHC_safe;
+ if (compressionlevel < 3) compressionFunction = LZ4IO_LZ4_compress; else compressionFunction = LZ4_compress_HC;
if (LZ4IO_getFiles(input_filename, output_filename, &finput, &foutput))
EXM_THROW(20, "File error");