summaryrefslogtreecommitdiff
path: root/libavutil/random_seed.c
Commit message (Collapse)AuthorAge
* random_seed: simplifyMåns Rullgård2010-07-01
| | | | Originally committed as revision 23932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMåns Rullgård2010-07-01
| | | | Originally committed as revision 23931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* random_seed: allow to block on /dev/randomMåns Rullgård2010-07-01
| | | | | | | | | | If both /dev/random and /dev/urandom failed to return data, an uninitialised value might be returned. Since most systems have a non-blocking /dev/urandom or have /dev/random with similar properties, the chance of blocking is minimal, and the alternative of returning non-random data is worse. Originally committed as revision 23930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_get_random_seed() non-blockingMåns Rullgård2010-06-30
| | | | | | | Attempt to read from /dev/urandom and /dev/random with O_NONBLOCK set. If neither succeeds, proceed with fallbacks. Originally committed as revision 23903 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_random_get_seed public, rename to av_get_random_seed, export the headerMartin Storsjö2010-05-23
| | | | | | | Keep an old ff_ named function for binary compatibility until the next major bump. Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMåns Rullgård2010-03-11
| | | | Originally committed as revision 22451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* random_seed: try other alternatives if reading /dev/random failsMåns Rullgård2010-03-11
| | | | Originally committed as revision 22450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ff_random_get_seed to be used in conjunction with random functionsBaptiste Coudurier2009-03-08
Originally committed as revision 17868 to svn://svn.ffmpeg.org/ffmpeg/trunk