From 970585a6dfbd79e56f3f027c4ea1bd4906605001 Mon Sep 17 00:00:00 2001 From: OSAMU WATANABE Date: Thu, 20 May 2021 16:13:29 +0900 Subject: [PATCH] Fix incorrect condition of if statement at line 255 in --- source/Tier2/truncate_codestream.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Tier2/truncate_codestream.m b/source/Tier2/truncate_codestream.m index 0db0f81..f495180 100644 --- a/source/Tier2/truncate_codestream.m +++ b/source/Tier2/truncate_codestream.m @@ -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