mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 20:53:52 +00:00
Acceleration param is always valid.
This commit is contained in:
parent
f2a19c4593
commit
c609c15f95
@ -684,7 +684,6 @@ int LZ4_compress_fast_extState(void* state, const char* source, char* dest, int
|
|||||||
{
|
{
|
||||||
LZ4_stream_t_internal* ctx = &((LZ4_stream_t*)state)->internal_donotuse;
|
LZ4_stream_t_internal* ctx = &((LZ4_stream_t*)state)->internal_donotuse;
|
||||||
LZ4_resetStream((LZ4_stream_t*)state);
|
LZ4_resetStream((LZ4_stream_t*)state);
|
||||||
if (acceleration < 1) acceleration = ACCELERATION_DEFAULT;
|
|
||||||
|
|
||||||
if (maxOutputSize >= LZ4_compressBound(inputSize)) {
|
if (maxOutputSize >= LZ4_compressBound(inputSize)) {
|
||||||
if (inputSize < LZ4_64Klimit)
|
if (inputSize < LZ4_64Klimit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user