Add missing dcp::init() to example.
authorCarl Hetherington <cth@carlh.net>
Sat, 27 Feb 2021 23:09:14 +0000 (00:09 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 27 Feb 2021 23:09:14 +0000 (00:09 +0100)
examples/make_dcp.cc

index 8683dc300a8374e9e61b2c8a528842b76bac86f4..302d0b1bbbb3595bac55ce877b5bbe8416bed8d7 100644 (file)
@@ -45,6 +45,9 @@
 int
 main ()
 {
+       /* Set up libdcp */
+       dcp::init();
+
        /* Create a directory to put the DCP in */
        boost::filesystem::create_directory ("DCP");