Skip to content

Commit 98a42b1

Browse files
committed
fix code changes for new NLT API
1 parent 0e8e6bf commit 98a42b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/ojph_expand/ojph_expand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ int main(int argc, char *argv[]) {
434434
bool nlt_is_signed;
435435
ojph::ui8 nlt_bit_depth;
436436
ojph::ui8 nl_type;
437-
bool result = nlt.get_nonlinear_transform(c, nlt_bit_depth, nlt_is_signed, nl_type);
437+
has_nlt[c] = nlt.get_nonlinear_transform(c, nlt_bit_depth, nlt_is_signed, nl_type);
438438

439439
fprintf(stderr, "comp = %d has_nlt = %s ",
440440
c, has_nlt[c] ? "true" : "false");

0 commit comments

Comments
 (0)