diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 18:49:21 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 18:49:21 +0400 |
commit | 90b40b45d40b37ec27f48b63d9208e511c6add01 (patch) | |
tree | fcefd140c2130352d2178eea2b3f10236ba7d330 /libavutil/sha.c | |
parent | 475df42eb62c3fdc1f60d1970354a89216654b56 (diff) |
avutil/sha:make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/sha.c')
-rw-r--r-- | libavutil/sha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c index 5c8e3b6951..8c4f8a0e43 100644 --- a/libavutil/sha.c +++ b/libavutil/sha.c @@ -340,7 +340,7 @@ int main(void) int i, j, k; AVSHA ctx; unsigned char digest[32]; - const int lengths[3] = { 160, 224, 256 }; + static const int lengths[3] = { 160, 224, 256 }; for (j = 0; j < 3; j++) { printf("Testing SHA-%d\n", lengths[j]); |