diff adler32.c @ 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 4d9ad0ed07d0
children
line wrap: on
line diff