Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Archive/ApmHandler.cpp')
-rw-r--r--CPP/7zip/Archive/ApmHandler.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/CPP/7zip/Archive/ApmHandler.cpp b/CPP/7zip/Archive/ApmHandler.cpp
index 96656733..d5a111e9 100644
--- a/CPP/7zip/Archive/ApmHandler.cpp
+++ b/CPP/7zip/Archive/ApmHandler.cpp
@@ -376,15 +376,13 @@ STDMETHODIMP CHandler::GetStream(UInt32 index, ISequentialInStream **stream)
COM_TRY_END
}
-IMP_CreateArcIn
+static const Byte k_Signature[] = { kSig0, kSig1 };
-static CArcInfo g_ArcInfo =
- { "APM", "apm", 0, 0xD4,
- 2, { kSig0, kSig1 },
+REGISTER_ARC_I(
+ "APM", "apm", 0, 0xD4,
+ k_Signature,
0,
0,
- CreateArc, NULL, IsArc_Apm };
-
-REGISTER_ARC(Apm)
+ IsArc_Apm)
}}