Fix LZ4_LG format decompression

Fix #3802, fix #3722, fix #3770, fix #3635, fix #3787, close #3812
This commit is contained in:
topjohnwu 2021-02-07 17:40:59 -08:00
parent e7350d5041
commit 2963747d14
1 changed files with 1 additions and 0 deletions

View File

@ -546,6 +546,7 @@ stream_ptr get_decoder(format_t type, stream_ptr &&base) {
case LZ4:
return make_unique<LZ4F_decoder>(std::move(base));
case LZ4_LEGACY:
case LZ4_LG:
return make_unique<LZ4_decoder>(std::move(base));
case GZIP:
default: