[FFmpeg-devel] [PATCH 0/2] arc4random support
gajjanagadde at gmail.com
Mon Dec 7 04:56:31 CET 2015
arc4random is a great interface on the BSD's, see e.g https://www.youtube.com/watch?v=aWmLWx8ut20
for details on it, and is thus preferred over /dev/random, /dev/urandom.
1/2 (the less controversial of the 2 patches) adds support for it whenever
available naturally on the system.
2/2 adds support via libbsd, readily available on GNU/Linux systems. It is opt-in
via an --enable-libbsd flag.
Note that this may become obsolete once posix_random gets finalized and widespread.
Patches untested on BSD since I lack it; only tested on GNU/Linux.
Ganesh Ajjanagadde (2):
avutil/random_seed: use arc4random() when available
configure: libbsd support for arc4random()
configure | 25 +++++++++++++++++++++++++
libavutil/random_seed.c | 9 +++++++++
2 files changed, 34 insertions(+)
More information about the ffmpeg-devel