projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85b63c7
)
Add comments.
author
Carl Hetherington
<cth@carlh.net>
Mon, 11 Sep 2017 20:27:35 +0000
(21:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 11 Sep 2017 20:27:35 +0000
(21:27 +0100)
tools/dcpdecryptmxf.cc
patch
|
blob
|
history
diff --git
a/tools/dcpdecryptmxf.cc
b/tools/dcpdecryptmxf.cc
index c387442fcf90d073c3bf81a85670574f22a78cce..b6e28b254e2777d598480c486afd5ee5db4dbc2d 100644
(file)
--- 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 ();