summaryrefslogtreecommitdiff
path: root/src/asset_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset_writer.cc')
-rw-r--r--src/asset_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asset_writer.cc b/src/asset_writer.cc
index b9bac187..4f5cf4be 100644
--- a/src/asset_writer.cc
+++ b/src/asset_writer.cc
@@ -48,13 +48,13 @@ using namespace dcp;
* @param mxf MXF that we are writing.
* @param file File to write to.
*/
-AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file, Standard standard)
+AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file)
: _mxf (mxf)
, _file (file)
, _frames_written (0)
, _finalized (false)
, _started (false)
- , _encryption_context (new EncryptionContext (mxf->key(), standard))
+ , _encryption_context (new EncryptionContext (mxf->key(), mxf->standard()))
{
}