From b073a1df6504cc8cf0418d8484b54ddd6cc8ecc6 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 28 Sep 2020 14:06:44 +0200 Subject: [PATCH] apply our patch on latest lz4 --- common/lz4/lz4.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/lz4/lz4.c b/common/lz4/lz4.c index cc5ce9c80..f65fbb71e 100644 --- a/common/lz4/lz4.c +++ b/common/lz4/lz4.c @@ -1689,13 +1689,16 @@ read_variable_length(const BYTE **ip, const BYTE *lencheck, 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() : * This generic decompression function covers all use cases. * It shall be instantiated several times, using different sets of directives. * Note that it is important for performance that this function really get inlined, * in order to remove useless branches during compilation optimization. */ -LZ4_FORCE_INLINE int +int LZ4_decompress_generic( const char *const src, char *const dst,