From 182876830c0bfd85fd041b38cc83eca1a94f3d6f Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Wed, 25 Aug 2021 19:40:46 +0200 Subject: [PATCH] Fixes mismatch between g_NameToPropID and NCoderPropID (restores correct map of zstd props) broken by update to 7-Zip v.21.02 (48fa49f76c2cd81e50240785da16a5ca9fe9734c introduced NCoderPropID::kAffinity) --- CPP/7zip/Common/MethodProps.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CPP/7zip/Common/MethodProps.cpp b/CPP/7zip/Common/MethodProps.cpp index 10a4c4c4..48ba06b7 100644 --- a/CPP/7zip/Common/MethodProps.cpp +++ b/CPP/7zip/Common/MethodProps.cpp @@ -297,6 +297,8 @@ static const CNameToPropID g_NameToPropID[] = { VT_UI4, "check" }, { VT_BSTR, "filter" }, { VT_UI8, "memuse" }, + { VT_UI8, "aff" }, + // zstd props { VT_UI4, "strat" }, { VT_UI4, "fast" }, { VT_UI4, "long" },