diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-04-11 22:56:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-04-11 22:56:54 +0200 |
| commit | 811edcecf4c9b19c5f50bde32517c2a31644b635 (patch) | |
| tree | 2f67b2b1afa1e4ac6f4ee73db8f7e83efcbe9765 /src | |
| parent | 4e294c86423e7f27db287c3c794997a4621008d0 (diff) | |
Fix typos in exceptions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/j2k_transcode.cc | 2 | ||||
| -rw-r--r-- | src/pkl.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/j2k_transcode.cc b/src/j2k_transcode.cc index 596d92c1..686bc040 100644 --- a/src/j2k_transcode.cc +++ b/src/j2k_transcode.cc @@ -145,7 +145,7 @@ dcp::decompress_j2k (uint8_t const * data, int64_t size, int reduce) auto decoder = opj_create_decompress (format); if (!decoder) { - boost::throw_exception (ReadError ("could not create JPEG2000 decompresser")); + boost::throw_exception(ReadError("could not create JPEG2000 decompressor")); } opj_dparameters_t parameters; opj_set_default_decoder_parameters (¶meters); @@ -71,7 +71,7 @@ PKL::PKL (boost::filesystem::path file) } else if (pkl.namespace_uri() == pkl_smpte_ns) { _standard = Standard::SMPTE; } else { - boost::throw_exception (XMLError ("Unrecognised packing list namesapce " + pkl.namespace_uri())); + boost::throw_exception(XMLError("Unrecognised packing list namespace " + pkl.namespace_uri())); } _id = remove_urn_uuid (pkl.string_child ("Id")); |
