Commit 26474d10 authored by Michael Niedermayer's avatar Michael Niedermayer

random_seed: fix digest size

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7fe55485
...@@ -61,7 +61,7 @@ static uint32_t get_generic_seed(void) ...@@ -61,7 +61,7 @@ static uint32_t get_generic_seed(void)
clock_t last_t = 0; clock_t last_t = 0;
static uint64_t i = 0; static uint64_t i = 0;
static uint32_t buffer[512] = {0}; static uint32_t buffer[512] = {0};
unsigned char digest[32]; unsigned char digest[20];
uint64_t last_i = i; uint64_t last_i = i;
av_assert0(sizeof(tmp) >= av_sha_size); av_assert0(sizeof(tmp) >= av_sha_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment