mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 07:14:55 -06:00
9.04 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
8874e4fbc9
commit
829409452d
@@ -8,14 +8,14 @@
|
||||
|
||||
#include "MethodProps.h"
|
||||
|
||||
static UInt64 k_LZMA = 0x030101;
|
||||
// static UInt64 k_LZMA2 = 0x030102;
|
||||
static const UInt64 k_LZMA = 0x030101;
|
||||
static const UInt64 k_LZMA2 = 0x21;
|
||||
|
||||
HRESULT SetMethodProperties(const CMethod &method, const UInt64 *inSizeForReduce, IUnknown *coder)
|
||||
{
|
||||
bool tryReduce = false;
|
||||
UInt32 reducedDictionarySize = 1 << 10;
|
||||
if (inSizeForReduce != 0 && (method.Id == k_LZMA /* || methodFull.MethodID == k_LZMA2 */))
|
||||
if (inSizeForReduce != 0 && (method.Id == k_LZMA || method.Id == k_LZMA2))
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user