Skip to content

Commit

Permalink
fix lz4 4M bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jinfeihan57 committed Dec 28, 2020
1 parent 5d5689d commit be1a54f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion C/zstdmt/lz4-mt_decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,12 @@ static size_t st_decompress(void *arg)
}
}

if (nextToLoad == 0)
// if (nextToLoad == 0)
// break;
if (out->size == 0 && remaining ==0){
nextToLoad = ctx->inputsize;
break;
}

pos += remaining;
}
Expand Down

0 comments on commit be1a54f

Please sign in to comment.