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:
b805d58
)
Frame content size disabled by default when using LZ4F_compressFrame(), to be in...
author
Yann Collet
<yann.collet.73@gmail.com>
Tue, 21 Apr 2015 23:57:39 +0000
(
00:57
+0100)
committer
Yann Collet
<yann.collet.73@gmail.com>
Tue, 21 Apr 2015 23:57:39 +0000
(
00:57
+0100)
lib/lz4frame.c
patch
|
blob
|
history
diff --git
a/lib/lz4frame.c
b/lib/lz4frame.c
index
a2b6a22
..
8f82f6c
100644
(file)
--- a/
lib/lz4frame.c
+++ b/
lib/lz4frame.c
@@
-301,7
+301,6
@@
size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuf
else
{
memset(&prefs, 0, sizeof(prefs));
- prefs.frameInfo.contentSize = (U64)srcSize;
}
if (prefs.frameInfo.contentSize != 0)
prefs.frameInfo.contentSize = (U64)srcSize; /* auto-correct content size if selected (!=0) */