Commit 94e59cb8 authored by Michael Niedermayer's avatar Michael Niedermayer

random_seed: more elaborate doxy.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c029ea39
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
/** /**
* Get a seed to use in conjunction with random functions. * Get a seed to use in conjunction with random functions.
* This function tries to provide a good seed at a best effort bases.
* Its possible to call this function multiple times if more bits are needed.
* It can be quite slow, which is why it should only be used as seed for a faster
* PRNG. The quality of the seed depends on the platform.
*/ */
uint32_t av_get_random_seed(void); uint32_t av_get_random_seed(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment