From 536b42e85841d608d3dfbf5ed74c6a8de7fa81a6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 2 May 2015 14:37:48 +0200 Subject: [PATCH] avutil/cast5: Make iv array static Signed-off-by: Michael Niedermayer --- libavutil/cast5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/cast5.c b/libavutil/cast5.c index d07e98b786..98aa19d630 100644 --- a/libavutil/cast5.c +++ b/libavutil/cast5.c @@ -529,7 +529,7 @@ int main(int argc, char** argv) {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6, 0xb3, 0x43, 0x6f, 0xb8, 0x9d, 0x6d, 0xca, 0x92}, {0xb2, 0xc9, 0x5e, 0xb0, 0x0c, 0x31, 0xad, 0x71, 0x80, 0xac, 0x05, 0xb8, 0xe8, 0x3d, 0x69, 0x6e} }; - const uint8_t iv[8] = {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6}; + static const uint8_t iv[8] = {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6}; static uint8_t rpt2[2][16]; int i, j, err = 0; static const int key_bits[3] = {128, 80, 40};