equal
deleted
inserted
replaced
1 // ByteSwapRegister.cpp |
|
2 |
|
3 #include "StdAfx.h" |
|
4 |
|
5 #include "../../Common/RegisterCodec.h" |
|
6 |
|
7 #include "ByteSwap.h" |
|
8 static void *CreateCodec2() { return (void *)(ICompressFilter *)(new CByteSwap2); } |
|
9 static void *CreateCodec4() { return (void *)(ICompressFilter *)(new CByteSwap4); } |
|
10 |
|
11 static CCodecInfo g_CodecsInfo[] = |
|
12 { |
|
13 { CreateCodec2, CreateCodec4, 0x020302, L"Swap2", 1, true }, |
|
14 { CreateCodec4, CreateCodec4, 0x020304, L"Swap4", 1, true } |
|
15 }; |
|
16 |
|
17 REGISTER_CODECS(ByteSwap) |
|