diff options
author | 2016-04-09 21:45:54 +1000 | |
---|---|---|
committer | 2016-04-09 21:52:08 +1000 | |
commit | e925c494fe30adafb615c075f5eb692dd2b2effa (patch) | |
tree | eed0b7ccadb049ed2dc8a72282c0235c4e94b6ae /3rdparty/lzma/CPP/7zip/Compress/PpmdRegister.cpp | |
parent | b13e02f9751424dfc9ce6070676e2e318087a991 (diff) |
Update LZMA SDK to 15.14
Diffstat (limited to '3rdparty/lzma/CPP/7zip/Compress/PpmdRegister.cpp')
-rw-r--r-- | 3rdparty/lzma/CPP/7zip/Compress/PpmdRegister.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/3rdparty/lzma/CPP/7zip/Compress/PpmdRegister.cpp b/3rdparty/lzma/CPP/7zip/Compress/PpmdRegister.cpp index 9f59fcdd39a..17f84bd03b9 100644 --- a/3rdparty/lzma/CPP/7zip/Compress/PpmdRegister.cpp +++ b/3rdparty/lzma/CPP/7zip/Compress/PpmdRegister.cpp @@ -1,5 +1,4 @@ // PpmdRegister.cpp -// 2009-05-30 : Igor Pavlov : Public domain #include "StdAfx.h" @@ -7,15 +6,12 @@ #include "PpmdDecoder.h" -static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NPpmd::CDecoder); } #ifndef EXTRACT_ONLY #include "PpmdEncoder.h" -static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NPpmd::CEncoder); } -#else -#define CreateCodecOut 0 #endif -static CCodecInfo g_CodecInfo = - { CreateCodec, CreateCodecOut, 0x030401, L"PPMD", 1, false }; - -REGISTER_CODEC(PPMD) +REGISTER_CODEC_E(PPMD, + NCompress::NPpmd::CDecoder(), + NCompress::NPpmd::CEncoder(), + 0x30401, + "PPMD") |