summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-09-05 16:43:46 -0700
committerYann Collet <cyan@fb.com>2018-09-05 16:43:46 -0700
commit0d1ced5b0c2b87b672b70946fbc5ef41403cae98 (patch)
tree9dee3f1eacee6d8b1eb16cdd2fe646dac6d6073c /examples
parentb2e56d82bf73f50484c9cf71e81c1af4ebe3cc0b (diff)
parentb01f7af4cd61baef202c22149722126e44704b31 (diff)
downloadlz4-0d1ced5b0c2b87b672b70946fbc5ef41403cae98.tar.gz
lz4-0d1ced5b0c2b87b672b70946fbc5ef41403cae98.tar.bz2
lz4-0d1ced5b0c2b87b672b70946fbc5ef41403cae98.zip
Merge branch 'dev' into lz4f_init
Diffstat (limited to 'examples')
-rw-r--r--examples/frameCompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/frameCompress.c b/examples/frameCompress.c
index 6580e96..a97dc72 100644
--- a/examples/frameCompress.c
+++ b/examples/frameCompress.c
@@ -261,7 +261,7 @@ decompress_file_allocDst(FILE* f_in, FILE* f_out,
int const decompressionResult = decompress_file_internal(
f_in, f_out,
dctx,
- src, srcCapacity, readSize, consumedSize,
+ src, srcCapacity, readSize-consumedSize, consumedSize,
dst, dstCapacity);
free(dst);