[FFmpeg-cvslog] avutil/sha:make const tables static const
Michael Niedermayer
git at videolan.org
Sun Aug 11 17:46:41 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 11 16:49:21 2013 +0200| [90b40b45d40b37ec27f48b63d9208e511c6add01] | committer: Michael Niedermayer
avutil/sha:make const tables static const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90b40b45d40b37ec27f48b63d9208e511c6add01
---
libavutil/sha.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/sha.c b/libavutil/sha.c
index 5c8e3b6..8c4f8a0 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]);
More information about the ffmpeg-cvslog
mailing list