avutil/random_seed: Reduce the time needed on systems with very low precission clock()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 24 Dec 2016 13:26:41 +0000 (14:26 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 25 Jan 2017 23:34:12 +0000 (00:34 +0100)
commitceeeccc86211f072574760cd81b70726d991ad76
tree9ef8ee5f0faa07892eb0fb647621bd42f636c430
parent07df85b9586f0fd303b08266126e5d1f8c797b9a
avutil/random_seed: Reduce the time needed on systems with very low precission clock()

This should fix issues on BSD
CLOCKS_PER_SEC is 128 on BSD while SUSv2 requires it to be a million

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c4152fc42e480c41efb7f761b1bbe5f0bc43d5bc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/random_seed.c