aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-02 14:37:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-02 14:37:48 +0200
commit536b42e85841d608d3dfbf5ed74c6a8de7fa81a6 (patch)
treec8a5ba9d9d099ef0533d8cfec179fd11445e6e43
parent156f64bdf142674a635c52bcfad7c303df1c168e (diff)
downloadffmpeg-536b42e85841d608d3dfbf5ed74c6a8de7fa81a6.tar.gz
avutil/cast5: Make iv array static
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/cast5.c2
1 files changed, 1 insertions, 1 deletions
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};