Commit 192bfbc1 authored by Reinhard Tartler's avatar Reinhard Tartler

avutil: elaborate documentation for av_get_random_seed

parent dafaef2f
...@@ -24,7 +24,12 @@ ...@@ -24,7 +24,12 @@
#include <stdint.h> #include <stdint.h>
/** /**
* Get a seed to use in conjunction with random functions. * Get random data.
*
* This function can be called repeatedly to generate more random bits
* as needed. It is generally quite slow, and usually used to seed a
* PRNG. As it uses /dev/urandom and /dev/random, the quality of the
* returned random data 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