Mercurial > libavutil.hg
diff softfloat.h @ 964:08c117c60753 libavutil
random_seed: allow to block on /dev/random
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.
author | mru |
---|---|
date | Thu, 01 Jul 2010 11:40:50 +0000 |
parents | 8c48a1b999a3 |
children |