diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-04-07 18:52:10 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-04-29 16:21:23 +0200 |
commit | f2422b58756ba97e3cbadc190f1ed950aa201ec7 (patch) | |
tree | bbc5cf5e0eb667b9ffc8329cd7e9a0e29ff0ff3b /libavutil/sha-test.c | |
parent | 5b1409c75563b4a3aca113c34d09e3b5442de47f (diff) |
testprogs: Mark some tables as static const
Diffstat (limited to 'libavutil/sha-test.c')
-rw-r--r-- | libavutil/sha-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha-test.c b/libavutil/sha-test.c index e43a5a53d5..5f62a98ea3 100644 --- a/libavutil/sha-test.c +++ b/libavutil/sha-test.c @@ -25,7 +25,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]); |