Fix lzma compressed ramdisk

Fix issue #222
This commit is contained in:
topjohnwu 2017-07-13 10:22:55 +08:00
parent bdbb3c6657
commit 56457bd325

View File

@ -125,7 +125,7 @@ void lzma(int mode, const char* filename, const unsigned char* buf, size_t size)
ret = lzma_auto_decoder(&strm, UINT64_MAX, 0);
break;
case 1:
ret = lzma_stream_encoder(&strm, filters, LZMA_CHECK_CRC64);
ret = lzma_stream_encoder(&strm, filters, LZMA_CHECK_CRC32);
break;
case 2:
ret = lzma_alone_encoder(&strm, &opt);