summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-06 01:17:52 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-06 01:17:52 +0200
commit99d2243b7674c0673fee5f6f6cd4a65da16db37c (patch)
tree2214cf2e51cfb4a3519d128bee2d072c9d3e6fe3 /src
parent87884a12218d71fbbbbaea1005c652ab1d3dd41a (diff)
Fix incorrect error code (2K when it should be 4K).v1.8.1
Diffstat (limited to 'src')
-rw-r--r--src/verify_j2k.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verify_j2k.cc b/src/verify_j2k.cc
index 2e1255ea..48d85a33 100644
--- a/src/verify_j2k.cc
+++ b/src/verify_j2k.cc
@@ -209,7 +209,7 @@ dcp::verify_j2k (shared_ptr<const Data> j2k, vector<VerificationNote>& notes)
notes.push_back ({ VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_2K, raw_convert<string>(tile_parts) });
}
if (fourk && tile_parts != 6) {
- notes.push_back ({ VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_2K, raw_convert<string>(tile_parts) });
+ notes.push_back ({ VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_4K, raw_convert<string>(tile_parts) });
}
main_header_finished = true;
} else if (*marker_name == "SOD") {