Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-06-28 06:23:20 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-06-28 06:29:44 +0400
commit94e59cb84b0fbc016333c22685cdc4afeabbdf08 (patch)
treed9fbdef2a99799e024b6e6bfe8ea8c07922e3c6f /libavutil/random_seed.h
parentc029ea39bd58905d7a15ad7e1eb7991447606974 (diff)
random_seed: more elaborate doxy.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/random_seed.h')
-rw-r--r--libavutil/random_seed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/random_seed.h b/libavutil/random_seed.h
index 7f75063233..bb957879be 100644
--- a/libavutil/random_seed.h
+++ b/libavutil/random_seed.h
@@ -25,6 +25,10 @@
/**
* 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);