Add comments.
authorCarl Hetherington <cth@carlh.net>
Mon, 11 Sep 2017 20:27:35 +0000 (21:27 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 11 Sep 2017 20:27:35 +0000 (21:27 +0100)
tools/dcpdecryptmxf.cc

index c387442fcf90d073c3bf81a85670574f22a78cce..b6e28b254e2777d598480c486afd5ee5db4dbc2d 100644 (file)
@@ -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 ();