diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 16:49:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 16:49:03 +0200 |
commit | 475df42eb62c3fdc1f60d1970354a89216654b56 (patch) | |
tree | de7452a543a9929e9b1e6f91f574c4b8277215c8 | |
parent | 4ccafaca1cf60227527c7df12668fb3c8eecb23f (diff) | |
download | ffmpeg-475df42eb62c3fdc1f60d1970354a89216654b56.tar.gz |
avutil/sha512: make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/sha512.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha512.c b/libavutil/sha512.c index 445480cce1..84136037db 100644 --- a/libavutil/sha512.c +++ b/libavutil/sha512.c @@ -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]); |