20 |
|
|
21 |
|
char *mbcalfile = NULL; /* macbethcal mapping file */ |
22 |
|
|
23 |
< |
static struct mbc mbcond; /* macbethcal conditioning struct */ |
23 |
> |
static struct mbc { |
24 |
> |
float xa[3][6], ya[3][6]; |
25 |
> |
COLORMAT cmat; |
26 |
> |
} mbcond; /* macbethcal conditioning struct */ |
27 |
|
|
28 |
|
static COLOR *scanbuf; /* scanline processing buffer */ |
29 |
|
static int nread; /* number of scanlines processed */ |
63 |
|
#ifdef DEBUG |
64 |
|
fputs("done\n", stderr); |
65 |
|
#endif |
66 |
< |
return(NULL); |
66 |
> |
free((char *)scanbuf); |
67 |
> |
return(scanbuf = NULL); |
68 |
|
} |
69 |
|
if (what2do&DO_ACUITY) |
70 |
|
acuscan(scanbuf, nread); |