diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 16:49:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 16:49:21 +0200 |
commit | 90b40b45d40b37ec27f48b63d9208e511c6add01 (patch) | |
tree | fcefd140c2130352d2178eea2b3f10236ba7d330 /libavutil | |
parent | 475df42eb62c3fdc1f60d1970354a89216654b56 (diff) | |
download | ffmpeg-90b40b45d40b37ec27f48b63d9208e511c6add01.tar.gz |
avutil/sha:make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-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]); |