Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Project/GNU/CLI/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ rawcooked_SOURCES = \
../../../Source/Lib/RawFrame/RawFrame.cpp \
../../../Source/Lib/TIFF/TIFF.cpp \
../../../Source/Lib/WAV/WAV.cpp \
../../../Source/Lib/ThirdParty/Reed-Solomon/Galois.cpp \
../../../Source/Lib/ThirdParty/Reed-Solomon/Matrix.cpp \
../../../Source/Lib/ThirdParty/Reed-Solomon/Reed-Solomon.cpp \
../../../Source/Lib/ThirdParty/flac/src/libFLAC/bitmath.c \
../../../Source/Lib/ThirdParty/flac/src/libFLAC/bitreader.c \
../../../Source/Lib/ThirdParty/flac/src/libFLAC/cpu.c \
Expand Down Expand Up @@ -59,7 +62,8 @@ AM_CPPFLAGS = -I../../../Source \
-I../../../Source/Lib/ThirdParty/flac/src/libFLAC/include \
-I../../../Source/Lib/ThirdParty/md5 \
-I../../../Source/Lib/ThirdParty/thread-pool/include\
-I../../../Source/Lib/ThirdParty/zlib
-I../../../Source/Lib/ThirdParty/zlib \
-I../../../Source/Lib/ThirdParty

AM_CXXFLAGS = -std=c++0x

Expand Down
14 changes: 10 additions & 4 deletions Project/MSVC2017/Lib/RAWcooked_Lib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
<ClInclude Include="..\..\..\Source\Lib\Matroska\Matroska_Common.h" />
<ClInclude Include="..\..\..\Source\Lib\RAWcooked\RAWcooked.h" />
<ClInclude Include="..\..\..\Source\Lib\RawFrame\RawFrame.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.h" />
<ClInclude Include="..\..\..\Source\Lib\TIFF\TIFF.h" />
<ClInclude Include="..\..\..\Source\Lib\WAV\WAV.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\flac\include\FLAC\assert.h" />
Expand Down Expand Up @@ -105,6 +108,9 @@
<ClCompile Include="..\..\..\Source\Lib\Matroska\Matroska_Common.cpp" />
<ClCompile Include="..\..\..\Source\Lib\RAWcooked\RAWcooked.cpp" />
<ClCompile Include="..\..\..\Source\Lib\RawFrame\RawFrame.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.cpp" />
<ClCompile Include="..\..\..\Source\Lib\TIFF\TIFF.cpp" />
<ClCompile Include="..\..\..\Source\Lib\WAV\WAV.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\flac\src\libFLAC\bitmath.c" />
Expand Down Expand Up @@ -214,7 +220,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Expand All @@ -230,7 +236,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Expand All @@ -248,7 +254,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
Expand All @@ -267,7 +273,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
Expand Down
24 changes: 24 additions & 0 deletions Project/MSVC2017/Lib/RAWcooked_Lib.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@
<Filter Include="Header Files\HashSum">
<UniqueIdentifier>{889f93d5-50da-4606-8480-a1ec82aa200f}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\Reed-Solomon">
<UniqueIdentifier>{bea62b93-d3d5-4cf1-a957-65810ce3ac52}</UniqueIdentifier>
</Filter>
<Filter Include="ThirdParty\Reed-Solomon">
<UniqueIdentifier>{e97f8d7f-a3f3-4d1b-87c3-c17fcf86decf}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\Source\Lib\BitStream\BitStream.h">
Expand Down Expand Up @@ -303,6 +309,15 @@
<ClInclude Include="..\..\..\Source\Lib\HashSum\HashSum.h">
<Filter>Header Files\HashSum</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.h">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.h">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.h">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\Source\Lib\CRC32\ZenCRC32.cpp">
Expand Down Expand Up @@ -440,6 +455,15 @@
<ClCompile Include="..\..\..\Source\Lib\HashSum\HashSum.cpp">
<Filter>Source Files\HashSum</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.cpp">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.cpp">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.cpp">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\Source\Lib\ThirdParty\zlib\README">
Expand Down
14 changes: 10 additions & 4 deletions Project/MSVC2019/Lib/RAWcooked_Lib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
<ClInclude Include="..\..\..\Source\Lib\Matroska\Matroska_Common.h" />
<ClInclude Include="..\..\..\Source\Lib\RAWcooked\RAWcooked.h" />
<ClInclude Include="..\..\..\Source\Lib\RawFrame\RawFrame.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.h" />
<ClInclude Include="..\..\..\Source\Lib\TIFF\TIFF.h" />
<ClInclude Include="..\..\..\Source\Lib\WAV\WAV.h" />
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\flac\include\FLAC\assert.h" />
Expand Down Expand Up @@ -105,6 +108,9 @@
<ClCompile Include="..\..\..\Source\Lib\Matroska\Matroska_Common.cpp" />
<ClCompile Include="..\..\..\Source\Lib\RAWcooked\RAWcooked.cpp" />
<ClCompile Include="..\..\..\Source\Lib\RawFrame\RawFrame.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.cpp" />
<ClCompile Include="..\..\..\Source\Lib\TIFF\TIFF.cpp" />
<ClCompile Include="..\..\..\Source\Lib\WAV\WAV.cpp" />
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\flac\src\libFLAC\bitmath.c" />
Expand Down Expand Up @@ -214,7 +220,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Expand All @@ -230,7 +236,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Expand All @@ -248,7 +254,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
Expand All @@ -267,7 +273,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;FLAC__NO_DLL;FLAC__HAS_OGG=0;FLAC__NO_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../Source;../../../Source/Lib/ThirdParty/flac/include;../../../Source/Lib/ThirdParty/flac/src/libFLAC/include;../../../Source/Lib/ThirdParty/md5;../../../Source/Lib/ThirdParty/thread-pool/include;../../../Source/Lib/ThirdParty/zlib;../../../Source/Lib/ThirdParty</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
Expand Down
24 changes: 24 additions & 0 deletions Project/MSVC2019/Lib/RAWcooked_Lib.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@
<Filter Include="Header Files\HashSum">
<UniqueIdentifier>{889f93d5-50da-4606-8480-a1ec82aa200f}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\Reed-Solomon">
<UniqueIdentifier>{bea62b93-d3d5-4cf1-a957-65810ce3ac52}</UniqueIdentifier>
</Filter>
<Filter Include="ThirdParty\Reed-Solomon">
<UniqueIdentifier>{e97f8d7f-a3f3-4d1b-87c3-c17fcf86decf}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\Source\Lib\BitStream\BitStream.h">
Expand Down Expand Up @@ -303,6 +309,15 @@
<ClInclude Include="..\..\..\Source\Lib\HashSum\HashSum.h">
<Filter>Header Files\HashSum</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.h">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.h">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.h">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\Source\Lib\CRC32\ZenCRC32.cpp">
Expand Down Expand Up @@ -440,6 +455,15 @@
<ClCompile Include="..\..\..\Source\Lib\HashSum\HashSum.cpp">
<Filter>Source Files\HashSum</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Galois.cpp">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Matrix.cpp">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\Lib\ThirdParty\Reed-Solomon\Reed-Solomon.cpp">
<Filter>ThirdParty\Reed-Solomon</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\Source\Lib\ThirdParty\zlib\README">
Expand Down
42 changes: 42 additions & 0 deletions Source/CLI/Global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,20 @@ int global::SetHash(bool Value)
return 0;
}

//---------------------------------------------------------------------------
int global::SetEcc(bool Value)
{
Actions.set(Action_Ecc, Value);
return 0;
}

//---------------------------------------------------------------------------
int global::SetFix(bool Value)
{
Actions.set(Action_Fix, Value);
return 0;
}

//---------------------------------------------------------------------------
int global::SetAll(bool Value)
{
Expand All @@ -142,6 +156,10 @@ int global::SetAll(bool Value)
return ReturnValue;
if (int ReturnValue = SetHash(Value))
return ReturnValue;
if (int ReturnValue = SetEcc(Value))
return ReturnValue;
if (int ReturnValue = SetFix(Value))
return ReturnValue;
return 0;
}

Expand Down Expand Up @@ -441,12 +459,24 @@ int global::ManageCommandLine(const char* argv[], int argc)
return Value;
License.Feature(Feature_GeneralOptions);
}
else if (strcmp(argv[i], "--ecc") == 0)
{
int Value = SetEcc(true);
if (Value)
return Value;
}
else if (strcmp(argv[i], "--encode") == 0)
{
int Value = SetEncode(true);
if (Value)
return Value;
}
else if (strcmp(argv[i], "--fix") == 0)
{
int Value = SetFix(true);
if (Value)
return Value;
}
else if (strcmp(argv[i], "--hash") == 0)
{
int Value = SetHash(true);
Expand Down Expand Up @@ -497,12 +527,24 @@ int global::ManageCommandLine(const char* argv[], int argc)
if (Value)
return Value;
}
else if (strcmp(argv[i], "--no-ecc") == 0)
{
int Value = SetEcc(false);
if (Value)
return Value;
}
else if (strcmp(argv[i], "--no-encode") == 0)
{
int Value = SetEncode(false);
if (Value)
return Value;
}
else if (strcmp(argv[i], "--no-fix") == 0)
{
int Value = SetFix(false);
if (Value)
return Value;
}
else if (strcmp(argv[i], "--no-hash") == 0)
{
int Value = SetHash(false);
Expand Down
2 changes: 2 additions & 0 deletions Source/CLI/Global.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ class global
int SetConch(bool Value);
int SetEncode(bool Value);
int SetHash(bool Value);
int SetEcc(bool Value);
int SetFix(bool Value);
int SetAll(bool Value);

// Progress indicator
Expand Down
7 changes: 7 additions & 0 deletions Source/CLI/Help.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ ReturnValue Help(const char* Name)
cout << " Don't do conformance check (see above)." << endl;
cout << " Is default (it may change in the future)" << endl;
cout << endl;
cout << " --ecc" << endl;
cout << " Add Error Correction Codes to the resulting Matroska file." << endl;
cout << " --no-ecc" << endl;
cout << " Don't add Error Correction Codes to the resulting Matroska file" << endl;
cout << " (see above)." << endl;
cout << " Is default (it may change in the future)" << endl;
cout << endl;
cout << " --encode" << endl;
cout << " Encode audio-visual RAW data into a compressed stream." << endl;
cout << " Is default" << endl;
Expand Down
Loading