mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
Enabled usage of LZMATestDecoder in LZMA.
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ public final class LZMA: DecompressionAlgorithm {
|
||||
var uncompressedSize = pointerData.intFromAlignedBytes(count: 8)
|
||||
uncompressedSize = Double(uncompressedSize) == pow(Double(2), Double(64)) - 1 ? -1 : uncompressedSize
|
||||
|
||||
let lzmaDecoder = try LZMADecoder(&pointerData, lc, pb, lp, dictionarySize)
|
||||
let lzmaDecoder = try LZMATestDecoder(&pointerData, lc, pb, lp, dictionarySize)
|
||||
|
||||
return try lzmaDecoder.decodeLZMA(&uncompressedSize)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user