summaryrefslogtreecommitdiff
path: root/libavformat/rdt.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-11-11 17:38:43 +0100
committerDiego Biurrun <diego@biurrun.de>2016-05-05 10:48:34 +0200
commit5afb94c817abffad030c6b94d7003dca8aace3d5 (patch)
tree517222058bab9a1b2ba41abd4a38280388dbf57a /libavformat/rdt.c
parent1f1ad8ace040a08edc2646ff638ca42a8828779f (diff)
Mark read-only tables as static
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r--libavformat/rdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index a759c7e9a2..eb718cfe81 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -98,7 +98,7 @@ ff_rdt_calc_response_and_checksum(char response[41], char chksum[9],
unsigned char zres[16],
buf[64] = { 0xa1, 0xe9, 0x14, 0x9d, 0x0e, 0x6b, 0x3b, 0x59 };
#define XOR_TABLE_SIZE 37
- const unsigned char xor_table[XOR_TABLE_SIZE] = {
+ static const unsigned char xor_table[XOR_TABLE_SIZE] = {
0x05, 0x18, 0x74, 0xd0, 0x0d, 0x09, 0x02, 0x53,
0xc0, 0x01, 0x05, 0x05, 0x67, 0x03, 0x19, 0x70,
0x08, 0x27, 0x66, 0x10, 0x10, 0x72, 0x08, 0x09,