We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c927c04 commit 3581607Copy full SHA for 3581607
src/apps/ojph_compress/ojph_compress.cpp
@@ -768,10 +768,6 @@ int main(int argc, char * argv[]) {
768
assert(num_comps == 1 || num_comps == 3);
769
siz.set_num_components(num_comps);
770
771
- if (bit_depth[0] == 0)
772
- OJPH_ERROR(0x01000091,
773
- "-bit_depth must be specified (this is temporary only).\n");
774
-
775
if (bit_depth[0] != 0) // one was set
776
if (num_bit_depths < num_comps) // but if not enough, repeat
777
for (ojph::ui32 c = num_bit_depths; c < num_comps; ++c)
0 commit comments