diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-02 15:37:08 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-02 15:37:08 +0300 |
commit | 156f64bdf142674a635c52bcfad7c303df1c168e (patch) | |
tree | a5746f1a9bec12976e2ada4da9ad153390094dda /libavutil | |
parent | dfc0708e233d725d618ea539124b18fd34063f79 (diff) |
avutil/cast5: Mark key_bits as const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/cast5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/cast5.c b/libavutil/cast5.c index 6f58382c7a..d07e98b786 100644 --- a/libavutil/cast5.c +++ b/libavutil/cast5.c @@ -532,7 +532,7 @@ int main(int argc, char** argv) 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 int key_bits[3] = {128, 80, 40}; + static const int key_bits[3] = {128, 80, 40}; uint8_t temp[8]; AVCAST5 *cs; cs = av_cast5_alloc(); |