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 4a3958f commit 23633baCopy full SHA for 23633ba
src/core/codestream/ojph_params.cpp
@@ -787,7 +787,7 @@ namespace ojph {
787
ui32 bit_depth = 0;
788
if (comp_num < 3 && is_employing_color_transform())
789
{
790
- for (int c = 0; c < 3; ++c)
+ for (ui32 c = 0; c < 3; ++c)
791
bit_depth = ojph_max(bit_depth, siz->get_bit_depth(c));
792
++bit_depth; // colour transform needs one extra bit
793
}
0 commit comments