summaryrefslogtreecommitdiff
path: root/mupdf/image2.c
diff options
context:
space:
mode:
Diffstat (limited to 'mupdf/image2.c')
-rw-r--r--mupdf/image2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mupdf/image2.c b/mupdf/image2.c
index 485766e6..d46bdd0e 100644
--- a/mupdf/image2.c
+++ b/mupdf/image2.c
@@ -141,7 +141,7 @@ static void loadtile8a(pdf_image *src, fz_pixmap *dst, int n)
static void
decodetile(fz_pixmap *pix, int bpc, int skip, float *decode)
{
- unsigned char table[32][256];
+ unsigned char table[FZ_MAXCOLORS][256];
float invtwon = 1.0 / ((1 << bpc) - 1);
int x, y, k, i;