diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-11 21:27:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-11 21:27:35 +0100 |
| commit | 84e64f3207747d4be69e941ff0c1c81d51a4d77d (patch) | |
| tree | 5f706699de1911c401de86516b84abaf05875077 | |
| parent | 85b63c79b3b4d67587671be3e352698440ffce28 (diff) | |
Add comments.
| -rw-r--r-- | tools/dcpdecryptmxf.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dcpdecryptmxf.cc b/tools/dcpdecryptmxf.cc index c387442f..b6e28b25 100644 --- a/tools/dcpdecryptmxf.cc +++ b/tools/dcpdecryptmxf.cc @@ -63,6 +63,7 @@ help (string n) << " -p, --private-key private key file\n"; } +/* XXX: this method is unused */ int atmos ( ASDCP::ATMOS::MXFReader& reader, @@ -182,6 +183,8 @@ main (int argc, char* argv[]) dcp::EncryptedKDM encrypted_kdm (dcp::file_to_string (kdm_file.get ())); dcp::DecryptedKDM decrypted_kdm (encrypted_kdm, dcp::file_to_string (private_key_file.get())); + /* XXX: only works for Atmos! */ + try { dcp::AtmosAsset in (input_file); shared_ptr<dcp::AtmosAssetReader> reader = in.start_read (); |
