Skip to content

Commit

Permalink
Addresses one warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
aous72 committed Nov 3, 2024
1 parent 8e1935f commit 6fb5add
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/coding/ojph_block_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2048,12 +2048,12 @@ namespace ojph {
u_ext = (ui16)(cond0 ? (vlc_val & 0xF) : 0);
vlc_val = rev_advance64(&vlc, cond0 ? 4 : 0);
u_q0 = (ui16)(u_q0 + (u_ext << 2));
sp[1] = u_q0 + 1; // kappa = 1
sp[1] = u_q0 + (ui16)1; // kappa = 1
cond1 = u_q1 - (u_bias >> 2) > 32;
u_ext = (ui16)(cond1 ? (vlc_val & 0xF) : 0);
vlc_val = rev_advance64(&vlc, cond1 ? 4 : 0);
u_q1 = (ui16)(u_q1 + (u_ext << 2));
sp[3] = u_q1 + 1; // kappa = 1
sp[3] = u_q1 + (ui16)1; // kappa = 1
}
sp[0] = sp[1] = 0;

Expand Down

0 comments on commit 6fb5add

Please sign in to comment.