summaryrefslogtreecommitdiffstats
path: root/programs/lz4io.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-18 20:38:27 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-18 20:38:27 (GMT)
commit7ee725645b58c201f11443d70210c2f986371b59 (patch)
tree4f878e6744918cf0251cde54c5e8afbab6ef6c46 /programs/lz4io.c
parent7d87d43e619b0296bbe3f1674f10575b3f68c189 (diff)
downloadlz4-7ee725645b58c201f11443d70210c2f986371b59.zip
lz4-7ee725645b58c201f11443d70210c2f986371b59.tar.gz
lz4-7ee725645b58c201f11443d70210c2f986371b59.tar.bz2
frame content size support
Diffstat (limited to 'programs/lz4io.c')
-rw-r--r--programs/lz4io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c
index 6d36b39..8d356c1 100644
--- a/programs/lz4io.c
+++ b/programs/lz4io.c
@@ -625,7 +625,7 @@ static unsigned long long decodeLZ4S(FILE* finput, FILE* foutput)
if (seekResult != 0) EXM_THROW(68, "1 GB skip error (sparse file)");
storedSkips -= 1 GB;
}
- if (nb0T != seg0SizeT)
+ if (nb0T != seg0SizeT) /* not all 0s */
{
seekResult = fseek(foutput, storedSkips, SEEK_CUR);
if (seekResult) EXM_THROW(68, "Skip error (sparse file)");