Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 490 Bytes

BCJ2Register.cpp

File metadata and controls

18 lines (13 loc) · 490 Bytes
 
Jan 23, 2008
Jan 23, 2008
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// BranchRegister.cpp
#include "StdAfx.h"
#include "../../Common/RegisterCodec.h"
#include "x86_2.h"
static void *CreateCodec() { return (void *)(ICompressCoder2 *)(new NCompress::NBcj2::CDecoder()); }
#ifndef EXTRACT_ONLY
static void *CreateCodecOut() { return (void *)(ICompressCoder2 *)(new NCompress::NBcj2::CEncoder()); }
#else
#define CreateCodecOut 0
#endif
static CCodecInfo g_CodecInfo =
{ CreateCodec, CreateCodecOut, 0x0303011B, L"BCJ2", 4, false };
REGISTER_CODEC(BCJ2)