This commit is contained in:
Igor Pavlov
2015-06-15 00:00:00 +00:00
committed by Kornel Lesiński
parent 0713a3ab80
commit 54490d51d5
591 changed files with 34932 additions and 16390 deletions

View File

@@ -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")