X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fmono_picture_asset_writer.cc;h=54339ed57518a941743b3e1b28b9d5c2ed709e07;hb=6db8817ab5c9387dc6528f88d1f1a88c3da0fea5;hp=564a5ea15a9d363ffe083bfb6d2236f1cee44905;hpb=c9717810952874f38c58b526abf4875abf38534c;p=libdcp.git diff --git a/src/mono_picture_asset_writer.cc b/src/mono_picture_asset_writer.cc index 564a5ea1..54339ed5 100644 --- a/src/mono_picture_asset_writer.cc +++ b/src/mono_picture_asset_writer.cc @@ -74,7 +74,7 @@ MonoPictureAssetWriter::write (uint8_t* data, int size) uint64_t const before_offset = _state->mxf_writer.Tell (); string hash; - ASDCP::Result_t const r = _state->mxf_writer.WriteFrame (_state->frame_buffer, _encryption_context, 0, &hash); + ASDCP::Result_t const r = _state->mxf_writer.WriteFrame (_state->frame_buffer, _encryption_context, _hmac_context, &hash); if (ASDCP_FAILURE (r)) { boost::throw_exception (MXFFileError ("error in writing video MXF", _file.string(), r)); }