avutil/ripemd:make const tables static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-08-11 16:49:57 +02:00
parent 0e98a13322
commit 64a3dbadee

View File

@ -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]);