summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-28 00:09:14 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-28 00:09:14 +0100
commit1953611a0f8ec71ee512ca05b7e7147113b0ae5b (patch)
tree9daba86a81fb71a2af4168e736acef50095c7d6b /examples
parenteb80c762e9046e6b48fc754d6b510e80cd6a2d92 (diff)
Add missing dcp::init() to example.
Diffstat (limited to 'examples')
-rw-r--r--examples/make_dcp.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index 8683dc30..302d0b1b 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -45,6 +45,9 @@
int
main ()
{
+ /* Set up libdcp */
+ dcp::init();
+
/* Create a directory to put the DCP in */
boost::filesystem::create_directory ("DCP");