physfs/lzma/CPP/7zip/Compress/Branch/BCJRegister.cpp

19 lines
465 B
C++
Raw Normal View History

2008-01-23 04:52:35 +01:00
// BranchRegister.cpp
#include "StdAfx.h"
#include "../../Common/RegisterCodec.h"
#include "x86.h"
static void *CreateCodec() { return (void *)(ICompressFilter *)(new CBCJ_x86_Decoder()); }
#ifndef EXTRACT_ONLY
static void *CreateCodecOut() { return (void *)(ICompressFilter *)(new CBCJ_x86_Encoder()); }
#else
#define CreateCodecOut 0
#endif
static CCodecInfo g_CodecInfo =
{ CreateCodec, CreateCodecOut, 0x03030103, L"BCJ", 1, true };
REGISTER_CODEC(BCJ)