summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-29 23:51:51 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commit0c3fc9e8b33494a920c89da935a100fa7307939c (patch)
tree15c72443014ffcc1d3dccbfc3563e9e27f56d491 /src/verify.cc
parentbcb1158dce040f73aef636f0a61e7ca63988711c (diff)
INVALID_JPEG2000_CODESTREAM: note -> error.
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 4e40cfa5..abc447de 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -2122,7 +2122,7 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str
"Frame %1 (timecode %2) has an invalid JPEG2000 codestream (%3).",
note.frame().get(),
dcp::Time(note.frame().get(), note.frame_rate()->as_float(), note.frame_rate()->numerator).as_string(dcp::Standard::SMPTE),
- note.note().get()
+ *note.error()
);
case VerificationNote::Code::INVALID_JPEG2000_GUARD_BITS_FOR_2K:
return compose("The JPEG2000 codestream uses %1 guard bits in a 2K image instead of 1.", note.note().get());