From 64a3dbadee7d317d5ac22e14e86e0109a88fee32 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 11 Aug 2013 16:49:57 +0200 Subject: [PATCH] avutil/ripemd:make const tables static const Signed-off-by: Michael Niedermayer --- libavutil/ripemd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/ripemd.c b/libavutil/ripemd.c index 98be3ad393..d737c381a0 100644 --- a/libavutil/ripemd.c +++ b/libavutil/ripemd.c @@ -388,7 +388,7 @@ int main(void) int i, j, k; AVRIPEMD ctx; unsigned char digest[40]; - const int lengths[4] = { 128, 160, 256, 320 }; + static const int lengths[4] = { 128, 160, 256, 320 }; for (j = 0; j < 4; j++) { printf("Testing RIPEMD-%d\n", lengths[j]);