diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
| commit | 2ae92dcc97765deb2845dd07a338858aeb375cb3 (patch) | |
| tree | 6f0f8dec0b81a0a7d56e8dbc3a87f0986dae6748 /src/asset_writer.cc | |
| parent | 13db82c73af330ffbc7a813cd38c5bef36d5b54c (diff) | |
No-op: whitespace.
Diffstat (limited to 'src/asset_writer.cc')
| -rw-r--r-- | src/asset_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asset_writer.cc b/src/asset_writer.cc index eb55feaf..4611b38a 100644 --- a/src/asset_writer.cc +++ b/src/asset_writer.cc @@ -45,9 +45,9 @@ AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file) if (ASDCP_FAILURE (_encryption_context->InitKey (mxf->key()->value ()))) { throw MiscError ("could not set up encryption context"); } - + uint8_t cbc_buffer[ASDCP::CBC_BLOCK_SIZE]; - + Kumu::FortunaRNG rng; if (ASDCP_FAILURE (_encryption_context->SetIVec (rng.FillRandom (cbc_buffer, ASDCP::CBC_BLOCK_SIZE)))) { throw MiscError ("could not set up CBC initialization vector"); |
