diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-06-30 20:44:46 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-06-30 21:19:16 +0200 |
commit | 192bfbc1f18d50afea03c2d62ce5325fabb2f141 (patch) | |
tree | be834547c4bf5e708cfa380195731858af9d1205 /libavutil | |
parent | dafaef2fe1e1af7c40adc1855547fd4cba9862a9 (diff) | |
download | ffmpeg-streaming-192bfbc1f18d50afea03c2d62ce5325fabb2f141.zip ffmpeg-streaming-192bfbc1f18d50afea03c2d62ce5325fabb2f141.tar.gz |
avutil: elaborate documentation for av_get_random_seed
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/random_seed.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavutil/random_seed.h b/libavutil/random_seed.h index 8157d42..5bfeb8b 100644 --- a/libavutil/random_seed.h +++ b/libavutil/random_seed.h @@ -24,7 +24,12 @@ #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); |