From 8ee30b785ecc4ae65b8cc0428b38db04643ca28e 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 f76366e7d..78def982d 100644 --- a/common/lz4/lz4.c +++ b/common/lz4/lz4.c @@ -1703,13 +1703,16 @@ read_variable_length(const BYTE**ip, const BYTE* lencheck, int loop_check, int i 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,