summaryrefslogtreecommitdiff
path: root/tools/dcpdecryptmxf.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-26 21:07:11 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-26 21:07:13 +0100
commit4d86fd0dbb6a29a233577803c5541e962d4d58ef (patch)
treead8293c19ec2591d7b5926d0c47923db493eb197 /tools/dcpdecryptmxf.cc
parentde4b2a1d7f93b9f0dd2113aeff746738c19c8b43 (diff)
Remove LIBDCP_VERSION in favour of dcp::version.v1.8.62
The former is only set at configure which is a bit confusing, and I can't think of a reason to have both.
Diffstat (limited to 'tools/dcpdecryptmxf.cc')
-rw-r--r--tools/dcpdecryptmxf.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/dcpdecryptmxf.cc b/tools/dcpdecryptmxf.cc
index 4c615f99..33ba79bb 100644
--- a/tools/dcpdecryptmxf.cc
+++ b/tools/dcpdecryptmxf.cc
@@ -44,6 +44,7 @@
#include "mono_picture_asset.h"
#include "mono_picture_asset_writer.h"
#include "util.h"
+#include "version.h"
#include <asdcp/AS_DCP.h>
#include <getopt.h>
#include <iostream>
@@ -125,7 +126,7 @@ main (int argc, char* argv[])
switch (c) {
case 'A':
- cout << "libdcp version " << LIBDCP_VERSION << "\n";
+ cout << "libdcp version " << dcp::version << "\n";
exit (EXIT_SUCCESS);
case 'v':
verbose = true;