From 99d2243b7674c0673fee5f6f6cd4a65da16db37c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 6 Oct 2021 01:17:52 +0200 Subject: Fix incorrect error code (2K when it should be 4K). --- src/verify_j2k.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 j2k, vector& notes) notes.push_back ({ VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_2K, raw_convert(tile_parts) }); } if (fourk && tile_parts != 6) { - notes.push_back ({ VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_2K, raw_convert(tile_parts) }); + notes.push_back ({ VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_4K, raw_convert(tile_parts) }); } main_header_finished = true; } else if (*marker_name == "SOD") { -- cgit v1.2.3