summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-15 11:15:15 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-15 11:15:15 +0200
commit55231739a1461720bd36530c65cb1c8c98c2c4eb (patch)
treeb2773f453a970e452db829aaabbb75eba9728ed4
parent4b2a91af4331c1c7bc540fb352b1099292b5f753 (diff)
Missing set of frame rate causing crash when DoM tries to make its message.v1.8.102
-rw-r--r--src/verify_j2k.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/verify_j2k.cc b/src/verify_j2k.cc
index 47ee151c..f89ff840 100644
--- a/src/verify_j2k.cc
+++ b/src/verify_j2k.cc
@@ -217,6 +217,7 @@ dcp::verify_j2k(shared_ptr<const Data> j2k, int start_index, int frame_index, in
if (tile_part_length > max_tile_part_size) {
VerificationNote note{VerificationNote::Type::ERROR, VerificationNote::Code::INVALID_JPEG2000_TILE_PART_SIZE};
note.set_frame(frame_index);
+ note.set_frame_rate(frame_rate);
note.set_component(tile_part_index);
note.set_size(tile_part_length);
notes.push_back(note);