random_seed: fix digest size
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 11 Oct 2012 16:27:06 +0000 (18:27 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 11 Oct 2012 16:28:21 +0000 (18:28 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/random_seed.c

index b594e82..49c1220 100644 (file)
@@ -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);