From 0e98a133226f0b394c85d3d751936f159307e3e2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 11 Aug 2013 16:49:36 +0200 Subject: [PATCH] avutil/xtea: make const tables static const Signed-off-by: Michael Niedermayer --- libavutil/xtea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];