Skip to content

Commit

Permalink
ojph_compress for pfm does not need bit_depth
Browse files Browse the repository at this point in the history
  • Loading branch information
aous72 committed Nov 1, 2024
1 parent c927c04 commit 3581607
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/apps/ojph_compress/ojph_compress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,10 +768,6 @@ int main(int argc, char * argv[]) {
assert(num_comps == 1 || num_comps == 3);
siz.set_num_components(num_comps);

if (bit_depth[0] == 0)
OJPH_ERROR(0x01000091,
"-bit_depth must be specified (this is temporary only).\n");

if (bit_depth[0] != 0) // one was set
if (num_bit_depths < num_comps) // but if not enough, repeat
for (ojph::ui32 c = num_bit_depths; c < num_comps; ++c)
Expand Down

0 comments on commit 3581607

Please sign in to comment.