From 192bfbc1f18d50afea03c2d62ce5325fabb2f141 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Thu, 30 Jun 2011 20:44:46 +0200 Subject: avutil: elaborate documentation for av_get_random_seed --- libavutil/random_seed.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libavutil/random_seed.h') diff --git a/libavutil/random_seed.h b/libavutil/random_seed.h index 8157d42d73..5bfeb8b835 100644 --- a/libavutil/random_seed.h +++ b/libavutil/random_seed.h @@ -24,7 +24,12 @@ #include /** - * 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); -- cgit v1.2.3