From 26474d1098eb641c7fd0639fdfdee54f53664ff7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 11 Oct 2012 18:27:06 +0200 Subject: [PATCH] random_seed: fix digest size Signed-off-by: Michael Niedermayer --- libavutil/random_seed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);