diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-02 18:23:36 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-02 18:23:36 +0200 |
| commit | 7d9e108ba3629b2e9120bc1da3354935c41aca37 (patch) | |
| tree | c8ffdb2bca75d62bfe9fa2262e9fc4cd19c45027 /src/verify_j2k.cc | |
| parent | 6f98afd8021f9475bbd342bdcb39162b3167fa9e (diff) | |
WIP: more hacks.shared-ptr
Diffstat (limited to 'src/verify_j2k.cc')
| -rw-r--r-- | src/verify_j2k.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/verify_j2k.cc b/src/verify_j2k.cc index 47ee151c..12179c8d 100644 --- a/src/verify_j2k.cc +++ b/src/verify_j2k.cc @@ -65,14 +65,14 @@ public: void -dcp::verify_j2k(shared_ptr<const Data> j2k, int start_index, int frame_index, int frame_rate, vector<VerificationNote>& notes) +dcp::verify_j2k(ConstantData const& j2k, int start_index, int frame_index, int frame_rate, vector<VerificationNote>& notes) { /* See ITU-T T800 (visible on https://github.com/Ymagis/ClairMeta/issues/130) */ unsigned int const max_tile_part_size = std::floor(200e6 / (8 * frame_rate)); try { - auto ptr = j2k->data(); - auto end = ptr + j2k->size(); + auto ptr = j2k.data(); + auto end = ptr + j2k.size(); map<string, uint8_t> markers = { { "SOC", 0x4f }, |
