mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
random_seed: fix digest size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7fe5548531
commit
26474d1098
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user