Skip to content

Commit

Permalink
Fix incorrect condition of if statement at line 255 in
Browse files Browse the repository at this point in the history
  • Loading branch information
osamu620 committed May 25, 2021
1 parent aba947f commit 970585a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Tier2/truncate_codestream.m
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function truncate_codestream(hTile, main_header, g_target_rate)
if hCodeblock.num_passes > 0
cpb.is_zero_length = false;
end
if is_finish == false
if is_finish == false && hCodeblock.Cmodes < 64
hCodeblock.copy_from_vCodeblock(vCodeblock);
end
end
Expand Down

1 comment on commit 970585a

@osamu620
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #6

Please sign in to comment.