From 94e59cb84b0fbc016333c22685cdc4afeabbdf08 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 28 Jun 2011 04:23:20 +0200 Subject: [PATCH] random_seed: more elaborate doxy. Signed-off-by: Michael Niedermayer --- libavutil/random_seed.h | 4 ++++ 1 file changed, 4 insertions(+) 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);