aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-11 18:27:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-11 18:28:21 +0200
commit26474d1098eb641c7fd0639fdfdee54f53664ff7 (patch)
tree90a8b76011f6b494600a21936b2d51c5b9c0f6da /libavutil
parent7fe55485315201ea2ca540e6e337bfaf4af086c5 (diff)
downloadffmpeg-26474d1098eb641c7fd0639fdfdee54f53664ff7.tar.gz
random_seed: fix digest size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/random_seed.c2
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);