diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2018-09-05 23:35:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 23:35:59 (GMT) |
commit | b01f7af4cd61baef202c22149722126e44704b31 (patch) | |
tree | b0998111892915fa55834c5188cf8b24759e97f7 /examples | |
parent | d136118ea91b123e0a26aa13250aa1595e22e8e9 (diff) | |
parent | 98c0c7cf9d0f2429d01e614ebd1d63a6b356f31f (diff) | |
download | lz4-b01f7af4cd61baef202c22149722126e44704b31.zip lz4-b01f7af4cd61baef202c22149722126e44704b31.tar.gz lz4-b01f7af4cd61baef202c22149722126e44704b31.tar.bz2 |
Merge pull request #548 from cd127/dev
Fix bug in frame decompress example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/frameCompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/frameCompress.c b/examples/frameCompress.c index 9bfea48..0f8910d 100644 --- a/examples/frameCompress.c +++ b/examples/frameCompress.c @@ -260,7 +260,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); |