summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-30 13:17:10 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commitb4d9b7fedc37002a97ada284fd3a241a357bd8e2 (patch)
treee824a2fd5c14d0050d9640f7abad227097c71ca6 /src/verify.cc
parent34eab24abebc4f2b6281c5dba112fe9c872878c4 (diff)
INCORRECT_JPEG2000_POC_MARKER: note -> error, poc_marker.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 5cb2467b..deb55362 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -2139,7 +2139,7 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str
case VerificationNote::Code::INCORRECT_JPEG2000_POC_MARKER_COUNT_FOR_4K:
return compose("%1 POC markers found in 4K JPEG2000 codestream instead of 1.", *note.poc_markers());
case VerificationNote::Code::INCORRECT_JPEG2000_POC_MARKER:
- return compose("Incorrect POC marker content found (%1).", note.note().get());
+ return compose("Incorrect POC marker content found (%1).", *note.error());
case VerificationNote::Code::INVALID_JPEG2000_POC_MARKER_LOCATION:
return process_string("POC marker found outside main header.");
case VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_2K: