diff options
Diffstat (limited to 'src/mono_j2k_picture_asset_writer.cc')
| -rw-r--r-- | src/mono_j2k_picture_asset_writer.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mono_j2k_picture_asset_writer.cc b/src/mono_j2k_picture_asset_writer.cc index 644cfd3a..394040ac 100644 --- a/src/mono_j2k_picture_asset_writer.cc +++ b/src/mono_j2k_picture_asset_writer.cc @@ -52,8 +52,9 @@ LIBDCP_ENABLE_WARNINGS #include "j2k_picture_asset_writer_common.cc" -using std::string; using std::shared_ptr; +using std::string; +using std::vector; using namespace dcp; @@ -110,7 +111,7 @@ MonoJ2KPictureAssetWriter::write (uint8_t const * data, int size) uint64_t const before_offset = _state->mxf_writer.Tell (); - string hash; + vector<uint8_t> hash; auto const r = _state->mxf_writer.WriteFrame (_state->frame_buffer, _crypto_context->context(), _crypto_context->hmac(), &hash); if (ASDCP_FAILURE(r)) { throw_from_asdcplib(r, _file, MXFFileError("error in writing video MXF", _file.string(), r)); |
