ref: 94050e73b85c64633e3bab2447b03a0d1c24c481
parent: ab161268b93b136764dc50b9a982b00635a71c03
author: Sebastian Rasmussen <sebras@gmail.com>
date: Fri Jun 14 10:50:09 EDT 2019
jbig2dec: Declare internal data array static.
--- a/jbig2_arith.c
+++ b/jbig2_arith.c
@@ -195,7 +195,7 @@
byte lps_xor; /* lps_xor = index ^ NLPS ^ (SWITCH << 7) */
} Jbig2ArithQe;
-const Jbig2ArithQe jbig2_arith_Qe[MAX_QE_ARRAY_SIZE] = {
+static const Jbig2ArithQe jbig2_arith_Qe[MAX_QE_ARRAY_SIZE] = {
{0x5601, 1 ^ 0, 1 ^ 0 ^ 0x80},
{0x3401, 2 ^ 1, 6 ^ 1},
{0x1801, 3 ^ 2, 9 ^ 2},