diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-02-01 21:12:06 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-02-01 21:12:06 +0000 |
| commit | fe4c98bdc865290d10e70ebab7e48247d390f4c4 (patch) | |
| tree | fe7ea4bc09543298a0897f87a78b2edbc85ed206 /asdcplib/src/KM_util.cpp | |
| parent | 5724ce48e44192ae0f303ea93cbecf7936700193 (diff) | |
Unfinished attempt to overwrite existing; tricky because you need to delay writes of the MXF header until you know lots of stuff about the JP2K file (to fill in the picture descriptor).
Diffstat (limited to 'asdcplib/src/KM_util.cpp')
| -rwxr-xr-x | asdcplib/src/KM_util.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/asdcplib/src/KM_util.cpp b/asdcplib/src/KM_util.cpp index 23e8a1a6..b1814840 100755 --- a/asdcplib/src/KM_util.cpp +++ b/asdcplib/src/KM_util.cpp @@ -534,6 +534,15 @@ Kumu::GenRandomValue(UUID& ID) ID.Set(tmp_buf); } +#ifdef LIBDCP_POSIX +void +Kumu::ResetTestRNG() +{ + FortunaRNG RNG; + RNG.Reset(); +} +#endif + // void Kumu::GenRandomUUID(byte_t* buf) |
