avutil/sha512: 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:03 +02:00
parent 4ccafaca1c
commit 475df42eb6
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ int main(void)
int i, j, k;
AVSHA512 ctx;
unsigned char digest[64];
const int lengths[4] = { 224, 256, 384, 512 };
static const int lengths[4] = { 224, 256, 384, 512 };
for (j = 0; j < 4; j++) {
if (j < 2) printf("Testing SHA-512/%d\n", lengths[j]);