diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-28 23:27:23 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-28 23:27:23 +0000 |
| commit | 6db8817ab5c9387dc6528f88d1f1a88c3da0fea5 (patch) | |
| tree | 03303b686665dfdf2780332b899e59ee26979ccc /src/mono_picture_asset_writer.cc | |
| parent | c9717810952874f38c58b526abf4875abf38534c (diff) | |
Use a HMAC context to write HMAC stuff to encrypted MXFs.
Diffstat (limited to 'src/mono_picture_asset_writer.cc')
| -rw-r--r-- | src/mono_picture_asset_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |
