apply our patch on latest lz4

This commit is contained in:
Philippe Teuwen 2020-09-28 14:06:44 +02:00
commit 8ee30b785e

View file

@ -1703,13 +1703,16 @@ read_variable_length(const BYTE**ip, const BYTE* lencheck, int loop_check, int i
return length; return length;
} }
int LZ4_decompress_generic(const char* const src, char* const dst, int srcSize, int outputSize, endCondition_directive endOnInput, earlyEnd_directive partialDecoding,
dict_directive dict, const BYTE* const lowPrefix, const BYTE* const dictStart, const size_t dictSize );
/*! LZ4_decompress_generic() : /*! LZ4_decompress_generic() :
* This generic decompression function covers all use cases. * This generic decompression function covers all use cases.
* It shall be instantiated several times, using different sets of directives. * It shall be instantiated several times, using different sets of directives.
* Note that it is important for performance that this function really get inlined, * Note that it is important for performance that this function really get inlined,
* in order to remove useless branches during compilation optimization. * in order to remove useless branches during compilation optimization.
*/ */
LZ4_FORCE_INLINE int int
LZ4_decompress_generic( LZ4_decompress_generic(
const char* const src, const char* const src,
char* const dst, char* const dst,