rdt: make const tables static const
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 00:53:16 +0000 (02:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 00:53:16 +0000 (02:53 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rdt.c

index 6ac81d595e06340b9a1217a19f719dd07e362f1d..54111a5adad8e8ba196d0c17f2ce30f9a42e4d7a 100644 (file)
@@ -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,