mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/167/head
parent
7b880464cb
commit
39f8c7961d
2 changed files with 6 additions and 0 deletions
Loading…
Reference in new issue