Commit 156f64bd authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/cast5: Mark key_bits as const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dfc0708e
...@@ -532,7 +532,7 @@ int main(int argc, char** argv) ...@@ -532,7 +532,7 @@ int main(int argc, char** argv)
const uint8_t iv[8] = {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6}; const uint8_t iv[8] = {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6};
static uint8_t rpt2[2][16]; static uint8_t rpt2[2][16];
int i, j, err = 0; 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]; uint8_t temp[8];
AVCAST5 *cs; AVCAST5 *cs;
cs = av_cast5_alloc(); cs = av_cast5_alloc();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment