diff options
Diffstat (limited to 'target/linux/generic/hack-5.4/531-debloat_lzma.patch')
-rw-r--r-- | target/linux/generic/hack-5.4/531-debloat_lzma.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/hack-5.4/531-debloat_lzma.patch b/target/linux/generic/hack-5.4/531-debloat_lzma.patch index 2e453cc2f2..2f70eee3e9 100644 --- a/target/linux/generic/hack-5.4/531-debloat_lzma.patch +++ b/target/linux/generic/hack-5.4/531-debloat_lzma.patch @@ -106,7 +106,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> - SZ_ERROR_MEM - Memory allocation error - SZ_ERROR_UNSUPPORTED - Unsupported properties -*/ -- +- -SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); -void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc); - @@ -135,7 +135,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> -*/ - -/* LzmaDec_DecodeToDic -- +- - The decoding to internal dictionary buffer (CLzmaDec::dic). - You must manually update CLzmaDec::dicPos, if it reaches CLzmaDec::dicBufSize !!! - @@ -413,7 +413,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> - - delta2 = p->pos - p->hash[hash2Value]; - curMatch = p->hash[kFix3HashSize + hashValue]; -- +- - p->hash[hash2Value] = - p->hash[kFix3HashSize + hashValue] = p->pos; - @@ -986,7 +986,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> - p->rc.outStream = &outStream.funcTable; - - res = LzmaEnc_CodeOneBlock(p, True, desiredPackSize, *unpackSize); -- +- - *unpackSize = (UInt32)(p->nowPos64 - nowPos64); - *destLen -= outStream.rem; - if (outStream.overflow) |