diff options
author | Jonathan Mannancheril <sneakyfish5.sneaky@gmail.com> | 2019-11-09 22:31:00 -0600 |
---|---|---|
committer | Jonathan Mannancheril <sneakyfish5.sneaky@gmail.com> | 2019-11-09 23:20:49 -0600 |
commit | 55afd6e784d8dea6779f471d35a77e4d56bfaaca (patch) | |
tree | 46ffcce9b1bdeccd8fc05f16c2d4f39a0e4335d9 /thirdparty/zstd/compress/zstd_opt.c | |
parent | 94f00eb6c5323dff933a4985b60e8ebf9391f940 (diff) |
Update zstd to 1.4.4
Diffstat (limited to 'thirdparty/zstd/compress/zstd_opt.c')
-rw-r--r-- | thirdparty/zstd/compress/zstd_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/zstd/compress/zstd_opt.c b/thirdparty/zstd/compress/zstd_opt.c index 2da363f93e..2e50fca6ff 100644 --- a/thirdparty/zstd/compress/zstd_opt.c +++ b/thirdparty/zstd/compress/zstd_opt.c @@ -1098,7 +1098,7 @@ _shortestPath: /* cur, last_pos, best_mlen, best_off have to be set */ assert(anchor + llen <= iend); ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen); - ZSTD_storeSeq(seqStore, llen, anchor, offCode, mlen-MINMATCH); + ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); anchor += advance; ip = anchor; } } |