diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-04-07 18:52:10 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-04-29 16:21:23 +0200 |
commit | f2422b58756ba97e3cbadc190f1ed950aa201ec7 (patch) | |
tree | bbc5cf5e0eb667b9ffc8329cd7e9a0e29ff0ff3b /libavutil/aes-test.c | |
parent | 5b1409c75563b4a3aca113c34d09e3b5442de47f (diff) | |
download | ffmpeg-f2422b58756ba97e3cbadc190f1ed950aa201ec7.tar.gz |
testprogs: Mark some tables as static const
Diffstat (limited to 'libavutil/aes-test.c')
-rw-r--r-- | libavutil/aes-test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/aes-test.c b/libavutil/aes-test.c index 92404e4cc2..afb5ad3685 100644 --- a/libavutil/aes-test.c +++ b/libavutil/aes-test.c @@ -27,23 +27,23 @@ int main(int argc, char **argv) { int i, j; AVAES b; - uint8_t rkey[2][16] = { + static const uint8_t rkey[2][16] = { { 0 }, { 0x10, 0xa5, 0x88, 0x69, 0xd7, 0x4b, 0xe5, 0xa3, 0x74, 0xcf, 0x86, 0x7c, 0xfb, 0x47, 0x38, 0x59 } }; - uint8_t pt[16], rpt[2][16] = { + static const uint8_t rpt[2][16] = { { 0x6a, 0x84, 0x86, 0x7c, 0xd7, 0x7e, 0x12, 0xad, 0x07, 0xea, 0x1b, 0xe8, 0x95, 0xc5, 0x3f, 0xa3 }, { 0 } }; - uint8_t rct[2][16] = { + static const uint8_t rct[2][16] = { { 0x73, 0x22, 0x81, 0xc0, 0xa0, 0xaa, 0xb8, 0xf7, 0xa5, 0x4a, 0x0c, 0x67, 0xa0, 0xc4, 0x5e, 0xcf }, { 0x6d, 0x25, 0x1e, 0x69, 0x44, 0xb0, 0x51, 0xe0, 0x4e, 0xaa, 0x6f, 0xb4, 0xdb, 0xf7, 0x84, 0x65 } }; - uint8_t temp[16]; + uint8_t pt[16], temp[16]; int err = 0; av_log_set_level(AV_LOG_DEBUG); |