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
AgeCommit message (Collapse)Author
2011-12-04Code clean-up for crc.c, lfg.c, log.c, random_see.d, rational.c and tree.c.Yordan Makariev
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-17random_seed: use proper #includesMans Rullgard
Use <> for system headers, add needed math.h, drop unnecessary avutil.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-04-19lavu: remove disabled ff_random_get_seed cruft.Anton Khirnov
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-07-08Fix infinite loop with clock() returning (clock_t)-1.Michael Niedermayer
Originally committed as revision 24116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08Change i to unsigned in get_generic_seed().Michael Niedermayer
This is clearer than comparing against an unsigned number to force an unsigned comparison that we need. Originally committed as revision 24114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08get_generic_seed() for the cases without /dev/random and AV_READ_TIMEMichael Niedermayer
Originally committed as revision 24102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01random_seed: simplifyMåns Rullgård
Originally committed as revision 23932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01ReindentMåns Rullgård
Originally committed as revision 23931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01random_seed: allow to block on /dev/randomMåns Rullgård
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
2010-06-30Make av_get_random_seed() non-blockingMåns Rullgård
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
2010-05-23Make ff_random_get_seed public, rename to av_get_random_seed, export the headerMartin Storsjö
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
2010-03-11indentMåns Rullgård
Originally committed as revision 22451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11random_seed: try other alternatives if reading /dev/random failsMåns Rullgård
Originally committed as revision 22450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08add ff_random_get_seed to be used in conjunction with random functionsBaptiste Coudurier
Originally committed as revision 17868 to svn://svn.ffmpeg.org/ffmpeg/trunk