avutil/ripemd:make const tables static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/37/head
Michael Niedermayer 12 years ago
parent 0e98a13322
commit 64a3dbadee
  1. 2
      libavutil/ripemd.c

@ -388,7 +388,7 @@ int main(void)
int i, j, k; int i, j, k;
AVRIPEMD ctx; AVRIPEMD ctx;
unsigned char digest[40]; 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++) { for (j = 0; j < 4; j++) {
printf("Testing RIPEMD-%d\n", lengths[j]); printf("Testing RIPEMD-%d\n", lengths[j]);

Loading…
Cancel
Save