summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-30 00:11:22 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commit8ab777193f5a3d4d201affa8665aa03f94e0bcd8 (patch)
treeae84a29d4b1d852eaa420894e84af25e81fad9f0 /src/verify.cc
parentfca073e6dfb0a11f49f40232cf2fae2da6209c54 (diff)
INVALID_JPEG2000_CODE_BLOCK_{WIDTH_HEIGHT}: note -> code_block_{width,height}.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 08407920..cf4d91f8 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -2131,9 +2131,9 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str
case VerificationNote::Code::INVALID_JPEG2000_TILE_SIZE:
return process_string("The JPEG2000 tile size is not the same as the image size.");
case VerificationNote::Code::INVALID_JPEG2000_CODE_BLOCK_WIDTH:
- return compose("The JPEG2000 codestream uses a code block width of %1 instead of 32.", note.note().get());
+ return compose("The JPEG2000 codestream uses a code block width of %1 instead of 32.", *note.code_block_width());
case VerificationNote::Code::INVALID_JPEG2000_CODE_BLOCK_HEIGHT:
- return compose("The JPEG2000 codestream uses a code block height of %1 instead of 32.", note.note().get());
+ return compose("The JPEG2000 codestream uses a code block height of %1 instead of 32.", *note.code_block_height());
case VerificationNote::Code::INCORRECT_JPEG2000_POC_MARKER_COUNT_FOR_2K:
return compose("%1 POC markers found in 2K JPEG2000 codestream instead of 0.", note.note().get());
case VerificationNote::Code::INCORRECT_JPEG2000_POC_MARKER_COUNT_FOR_4K: