diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 20:27:06 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 20:28:21 +0400 |
commit | 26474d1098eb641c7fd0639fdfdee54f53664ff7 (patch) | |
tree | 90a8b76011f6b494600a21936b2d51c5b9c0f6da /libavutil | |
parent | 7fe55485315201ea2ca540e6e337bfaf4af086c5 (diff) |
random_seed: fix digest size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/random_seed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c index b594e82270..49c122001a 100644 --- a/libavutil/random_seed.c +++ b/libavutil/random_seed.c @@ -61,7 +61,7 @@ static uint32_t get_generic_seed(void) clock_t last_t = 0; static uint64_t i = 0; static uint32_t buffer[512] = {0}; - unsigned char digest[32]; + unsigned char digest[20]; uint64_t last_i = i; av_assert0(sizeof(tmp) >= av_sha_size); |