diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-11-23 00:14:04 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-11-23 00:14:04 (GMT) |
commit | 2ad37dbe58eb3709e5dee16ebcf345bd53680f85 (patch) | |
tree | ee23be25f03ce8cc05477821c3d1fb5718f1c78a /programs/lz4io.c | |
parent | b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3 (diff) | |
download | lz4-2ad37dbe58eb3709e5dee16ebcf345bd53680f85.zip lz4-2ad37dbe58eb3709e5dee16ebcf345bd53680f85.tar.gz lz4-2ad37dbe58eb3709e5dee16ebcf345bd53680f85.tar.bz2 |
Corrected lz4io
Diffstat (limited to 'programs/lz4io.c')
-rw-r--r-- | programs/lz4io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c index 3a84866..afaa59f 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -357,7 +357,7 @@ int LZ4IO_compressFilename_Legacy(char* input_filename, char* output_filename, i static void* LZ4IO_LZ4_createStream (const char* inputBuffer) { (void)inputBuffer; - return calloc(4, LZ4_STREAMSIZE_U32); + return calloc(8, LZ4_STREAMSIZE_U64); } static int LZ4IO_LZ4_compress_limitedOutput_continue (void* ctx, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel) |