aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/xtea.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-11 16:49:36 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-11 16:49:36 +0200
commit0e98a133226f0b394c85d3d751936f159307e3e2 (patch)
tree310eba5f293bae3095d0ca75937744801d034629 /libavutil/xtea.c
parent90b40b45d40b37ec27f48b63d9208e511c6add01 (diff)
downloadffmpeg-0e98a133226f0b394c85d3d751936f159307e3e2.tar.gz
avutil/xtea: make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/xtea.c')
-rw-r--r--libavutil/xtea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/xtea.c b/libavutil/xtea.c
index e729c91d31..5fbfd58efa 100644
--- a/libavutil/xtea.c
+++ b/libavutil/xtea.c
@@ -244,7 +244,7 @@ int main(void)
AVXTEA ctx;
uint8_t buf[8], iv[8];
int i;
- const uint8_t src[32] = "HelloWorldHelloWorldHelloWorld";
+ static const uint8_t src[32] = "HelloWorldHelloWorldHelloWorld";
uint8_t ct[32];
uint8_t pl[32];