[FFmpeg-cvslog] avutil/ripemd:make const tables static const

Michael Niedermayer git at videolan.org
Sun Aug 11 17:46:42 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 11 16:49:57 2013 +0200| [64a3dbadee7d317d5ac22e14e86e0109a88fee32] | committer: Michael Niedermayer

avutil/ripemd: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=64a3dbadee7d317d5ac22e14e86e0109a88fee32
---

 libavutil/ripemd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/ripemd.c b/libavutil/ripemd.c
index 98be3ad..d737c38 100644
--- a/libavutil/ripemd.c
+++ b/libavutil/ripemd.c
@@ -388,7 +388,7 @@ int main(void)
     int i, j, k;
     AVRIPEMD ctx;
     unsigned char digest[40];
-    const int lengths[4] = { 128, 160, 256, 320 };
+    static const int lengths[4] = { 128, 160, 256, 320 };
 
     for (j = 0; j < 4; j++) {
         printf("Testing RIPEMD-%d\n", lengths[j]);



More information about the ffmpeg-cvslog mailing list