projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3591fe8
)
Use Fast Reset API in LZ4F
author
W. Felix Handte
<w@felixhandte.com>
Mon, 16 Apr 2018 19:25:48 +0000
(15:25 -0400)
committer
W. Felix Handte
<w@felixhandte.com>
Fri, 20 Apr 2018 00:54:35 +0000
(20:54 -0400)
lib/lz4frame.c
patch
|
blob
|
history
diff --git
a/lib/lz4frame.c
b/lib/lz4frame.c
index
ea6a668
..
d087a94
100644
(file)
--- a/
lib/lz4frame.c
+++ b/
lib/lz4frame.c
@@
-743,7
+743,7
@@
static int LZ4F_compressBlockHC(void* ctx, const char* src, char* dst, int srcSi
if (cdict) {
return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstCapacity);
}
- return LZ4_compress_HC_extStateHC(ctx, src, dst, srcSize, dstCapacity, level);
+ return LZ4_compress_HC_extStateHC
_fastReset
(ctx, src, dst, srcSize, dstCapacity, level);
}
static int LZ4F_compressBlockHC_continue(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level, const LZ4F_CDict* cdict)