mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-15 08:27:26 +00:00
Fix LZ4_LG format decompression
Fix #3802, fix #3722, fix #3770, fix #3635, fix #3787, close #3812
This commit is contained in:
@@ -546,6 +546,7 @@ stream_ptr get_decoder(format_t type, stream_ptr &&base) {
|
|||||||
case LZ4:
|
case LZ4:
|
||||||
return make_unique<LZ4F_decoder>(std::move(base));
|
return make_unique<LZ4F_decoder>(std::move(base));
|
||||||
case LZ4_LEGACY:
|
case LZ4_LEGACY:
|
||||||
|
case LZ4_LG:
|
||||||
return make_unique<LZ4_decoder>(std::move(base));
|
return make_unique<LZ4_decoder>(std::move(base));
|
||||||
case GZIP:
|
case GZIP:
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user