]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rdt.c
copy_block: Change type of array stride parameters to ptrdiff_t
[ffmpeg] / libavformat / rdt.c
index a759c7e9a244eeaac79d8316a7b065140977a1cd..eb718cfe815b05371b8799c808b867907beba2f1 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,