summaryrefslogtreecommitdiff
path: root/asdcplib/src/KM_util.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-01 21:12:06 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-01 21:12:06 +0000
commitfe4c98bdc865290d10e70ebab7e48247d390f4c4 (patch)
treefe7ea4bc09543298a0897f87a78b2edbc85ed206 /asdcplib/src/KM_util.cpp
parent5724ce48e44192ae0f303ea93cbecf7936700193 (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-xasdcplib/src/KM_util.cpp9
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)