summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-01-21 17:07:40 +0100
committerwm4 <wm4@nowhere>2020-01-21 17:07:40 +0100
commitae0520cafc6bb0487b2021aa51c36438b99689c3 (patch)
treece50ad508a4f64e02c0139440c7f4acc0cf51ea7
parent1ea145a9a1d6d7e548b3ef2021bd985b76240cd0 (diff)
downloadmpv-ae0520cafc6bb0487b2021aa51c36438b99689c3.tar.bz2
mpv-ae0520cafc6bb0487b2021aa51c36438b99689c3.tar.xz
client API: document srand() use
-rw-r--r--libmpv/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 2e8dcdc960..2d108ca8d3 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -142,6 +142,8 @@ extern "C" {
* wrapper script).
* - Using UNIX IPC (off by default) will override the SIGPIPE signal handler,
* and set it to SIG_IGN.
+ * - mpv will reseed the legacy C random number generator by calling srand() at
+ * some random point once.
*
* Encoding of filenames
* ---------------------