summaryrefslogtreecommitdiff
path: root/examples/frameCompress.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/frameCompress.c')
-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);