mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-13 00:11:34 -06:00
15.05
This commit is contained in:
committed by
Kornel Lesiński
parent
0713a3ab80
commit
54490d51d5
@@ -6,15 +6,12 @@
|
||||
|
||||
#include "Lzma2Decoder.h"
|
||||
|
||||
static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NLzma2::CDecoder); }
|
||||
#ifndef EXTRACT_ONLY
|
||||
#include "Lzma2Encoder.h"
|
||||
static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NLzma2::CEncoder); }
|
||||
#else
|
||||
#define CreateCodecOut 0
|
||||
#endif
|
||||
|
||||
static CCodecInfo g_CodecInfo =
|
||||
{ CreateCodec, CreateCodecOut, 0x21, L"LZMA2", 1, false };
|
||||
|
||||
REGISTER_CODEC(LZMA2)
|
||||
REGISTER_CODEC_E(LZMA2,
|
||||
NCompress::NLzma2::CDecoder(),
|
||||
NCompress::NLzma2::CEncoder(),
|
||||
0x21,
|
||||
"LZMA2")
|
||||
|
||||
Reference in New Issue
Block a user