[FFmpeg-devel] [PATCH] Make av_get_random_seed not block when waiting for more entropy
Tue Jun 29 14:33:12 CEST 2010
I recently ran into a situation where av_get_random_seed() blocks for long
times if a machine is out of entropy. Since most (all?) uses of
av_get_random_seed() within ffmpeg don't really need full cryptographic
strength, using /dev/urandom instead of blocking while waiting for data
from /dev/random - the attached patch does this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 880 bytes
More information about the ffmpeg-devel