1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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

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