aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/ripemd.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-11 16:49:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-11 16:49:57 +0200
commit64a3dbadee7d317d5ac22e14e86e0109a88fee32 (patch)
tree1e36277efe4d2eae46a16fc00d729b62cb21772d /libavutil/ripemd.c
parent0e98a133226f0b394c85d3d751936f159307e3e2 (diff)
downloadffmpeg-64a3dbadee7d317d5ac22e14e86e0109a88fee32.tar.gz
avutil/ripemd:make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/ripemd.c')
-rw-r--r--libavutil/ripemd.c2
1 files changed, 1 insertions, 1 deletions
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]);