Skip to content

Commit

Permalink
Warning fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
aous72 committed Mar 30, 2024
1 parent 2b38785 commit 0363e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/codestream/ojph_params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ namespace ojph {
for (int i = 0; i <= get_num_decompositions(); ++i)
if (file->read(&SPcod.precinct_size[i], 1) != 1)
OJPH_ERROR(0x0005012A, "error reading COC segment");
ui16 t = 9;
ui32 t = 9;
t += num_comps < 257 ? 0 : 1;
t += (Scod & 1) ? 1 + get_num_decompositions() : 0;
if (Lcod != t)
Expand Down

0 comments on commit 0363e40

Please sign in to comment.