Frame content size disabled by default when using LZ4F_compressFrame(), to be in better coherence with the advanced API LZ4F_compress_update()
This commit is contained in:
parent
b805d581b9
commit
b05d3d71a6
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user