[FFmpeg-cvslog] avutil/xtea: make const tables static const
Michael Niedermayer
git at videolan.org
Sun Aug 11 17:46:41 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 11 16:49:36 2013 +0200| [0e98a133226f0b394c85d3d751936f159307e3e2] | committer: Michael Niedermayer
avutil/xtea: make const tables static const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e98a133226f0b394c85d3d751936f159307e3e2
---
libavutil/xtea.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/xtea.c b/libavutil/xtea.c
index e729c91..5fbfd58 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];
More information about the ffmpeg-cvslog
mailing list