ffmpeg/libavutil
Ganesh Ajjanagadde 39f8c7961d lavu/random_seed: use arc4random() when available
arc4random() was designed as a superior interface for system random
number generation, designed for OpenBSD and subsequently incorporated by
other BSD's, Mac OS X, and some non-standard libc's. It is thus an improvement to
use it whenever available.

As a side note, this may or may not get included in glibc, and there is
a proposal to create a posix_random family based on these ideas:
http://austingroupbugs.net/view.php?id=859.

Tested on Mac OS X.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-17 08:12:41 -08:00
..
2014-04-07 01:31:02 +02:00
2015-12-15 14:16:28 +01:00
2015-12-15 14:16:28 +01:00
2015-10-28 09:38:21 -05:00
2015-08-19 16:15:13 +00:00
2015-08-22 10:07:05 -07:00
2014-08-05 01:54:47 +02:00
2015-10-28 04:23:14 -05:00
2015-10-28 04:23:14 -05:00
2014-07-12 22:33:27 +02:00
2014-07-12 22:33:27 +02:00
2015-11-01 19:35:01 -05:00
2014-04-29 13:24:11 +02:00
2015-09-05 18:07:20 +02:00
2015-09-05 18:07:20 +02:00
2015-12-07 10:43:43 -08:00
2015-10-11 18:03:10 -04:00
2014-10-11 12:15:26 +02:00
2015-12-15 14:16:28 +01:00
2015-11-18 22:05:16 +01:00
2015-11-18 22:05:16 +01:00
2015-12-07 20:28:30 +01:00
2015-10-17 01:16:50 -07:00
2015-11-07 16:04:09 +01:00
2014-08-05 21:05:52 +02:00
2015-05-26 18:31:53 +02:00
2013-06-15 18:54:01 -03:00
2013-06-02 11:27:19 +02:00
2015-12-03 04:09:48 +01:00
2013-11-22 17:16:11 +01:00
2015-12-15 14:16:28 +01:00