diff options
author | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2011-09-15 20:20:39 (GMT) |
---|---|---|
committer | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2011-09-15 20:20:39 (GMT) |
commit | e154e125fc6f5b8ef55fca30f023e3bc329a524a (patch) | |
tree | 4f195045bd119f9e1f1ef2c243bb62a9f4933a9f | |
parent | d5a574c3511c036edd6bc09f8c87b30710728b93 (diff) | |
download | lz4-e154e125fc6f5b8ef55fca30f023e3bc329a524a.zip lz4-e154e125fc6f5b8ef55fca30f023e3bc329a524a.tar.gz lz4-e154e125fc6f5b8ef55fca30f023e3bc329a524a.tar.bz2 |
CLI : corrected : small allocation error in case of not compressible input
git-svn-id: https://lz4.googlecode.com/svn/trunk@21 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ #define CHUNKSIZE (8<<20) // 8 MB
#define CACHELINE 64
-#define OUT_CHUNKSIZE (CHUNKSIZE + (CHUNKSIZE>>8) + CACHELINE)
+#define OUT_CHUNKSIZE (CHUNKSIZE + (CHUNKSIZE/255) + CACHELINE)
#define ARCHIVE_MAGICNUMBER 0x184C2102
#define ARCHIVE_MAGICNUMBER_SIZE 4
|