1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Acceleration param is always valid.

This commit is contained in:
Bartosz Taudul 2017-11-24 01:23:54 +01:00
parent f2a19c4593
commit c609c15f95

View File

@ -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_resetStream((LZ4_stream_t*)state);
if (acceleration < 1) acceleration = ACCELERATION_DEFAULT;
if (maxOutputSize >= LZ4_compressBound(inputSize)) {
if (inputSize < LZ4_64Klimit)