Skip to content

Commit 3581607

Browse files
committed
ojph_compress for pfm does not need bit_depth
1 parent c927c04 commit 3581607

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/apps/ojph_compress/ojph_compress.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -768,10 +768,6 @@ int main(int argc, char * argv[]) {
768768
assert(num_comps == 1 || num_comps == 3);
769769
siz.set_num_components(num_comps);
770770

771-
if (bit_depth[0] == 0)
772-
OJPH_ERROR(0x01000091,
773-
"-bit_depth must be specified (this is temporary only).\n");
774-
775771
if (bit_depth[0] != 0) // one was set
776772
if (num_bit_depths < num_comps) // but if not enough, repeat
777773
for (ojph::ui32 c = num_bit_depths; c < num_comps; ++c)

0 commit comments

Comments
 (0)