Originally committed as revision 23931 to svn://svn.ffmpeg.org/ffmpeg/trunk
random_seed: allow to block on /dev/random
If both /dev/random and /dev/urandom failed to return data, anuninitialised value might be returned. Since most systems have anon-blocking /dev/urandom or have /dev/random with similar properties,the chance of blocking is minimal, and the alternative of returning...
Make av_get_random_seed() non-blocking
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 header
Keep an old ff_ named function for binary compatibility until thenext major bump.
Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 22451 to svn://svn.ffmpeg.org/ffmpeg/trunk
random_seed: try other alternatives if reading /dev/random fails
Originally committed as revision 22450 to svn://svn.ffmpeg.org/ffmpeg/trunk
add ff_random_get_seed to be used in conjunction with random functions
Originally committed as revision 17868 to svn://svn.ffmpeg.org/ffmpeg/trunk