Fix typos in exceptions.
authorCarl Hetherington <cth@carlh.net>
Tue, 11 Apr 2023 20:56:50 +0000 (22:56 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 11 Apr 2023 20:56:54 +0000 (22:56 +0200)
src/j2k_transcode.cc
src/pkl.cc

index 596d92c13a4312e2a3745f2260b750e0d1ded834..686bc0409c31445dca7162fe8d4b9c47e265a19e 100644 (file)
@@ -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 (&parameters);
index eb8ca8671048b1052037b35082d15e9d26ab8d18..390d5df269ddf952f1f52a6d066bd6820fe82537 100644 (file)
@@ -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"));