OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dafaef2
)
avutil: elaborate documentation for av_get_random_seed
author
Reinhard Tartler
<siretart@tauware.de>
Thu, 30 Jun 2011 18:44:46 +0000
(20:44 +0200)
committer
Reinhard Tartler
<siretart@tauware.de>
Thu, 30 Jun 2011 19:19:16 +0000
(21:19 +0200)
libavutil/random_seed.h
patch
|
blob
|
history
diff --git
a/libavutil/random_seed.h
b/libavutil/random_seed.h
index
8157d42
..
5bfeb8b
100644
(file)
--- 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);