Missing #ifdef for swaroop variant.
authorCarl Hetherington <cth@carlh.net>
Thu, 27 Sep 2018 00:23:05 +0000 (01:23 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 27 Sep 2018 00:23:05 +0000 (01:23 +0100)
src/tools/dcpomatic_player.cc

index 8329f1d8655393df71e50d8dd8bc16d3ef38b86d..5dcd331ca3bca2346b00b354909d69bd486e7ee1 100644 (file)
@@ -325,6 +325,7 @@ public:
 
                        optional<dcp::EncryptedKDM> kdm;
 
+#ifdef DCPOMATIC_VARIANT_SWAROOP
                        ScopedTemporary temp;
                        string url = Config::instance()->kdm_server_url();
                        boost::algorithm::replace_all (url, "{CPL}", "%1");
@@ -338,6 +339,7 @@ public:
                                        /* Hey well */
                                }
                        }
+#endif
 
                        if (!kdm) {
                                using namespace boost::filesystem;