s6145: Fix build errors.

This commit is contained in:
Solomon Peachy 2015-11-17 22:13:05 -05:00
parent 82c5db5b20
commit 62a6ec3d00

View file

@ -1988,7 +1988,7 @@ top:
#if defined(WITH_6145_LIB)
// XXX need to convert RGB to YMC
{
uint32_t planelen = corrdata->width * corrdata->height;
int planelen = ctx->corrdata->width * ctx->corrdata->height;
for (i = 0 ; i < planelen ; i++) {
uint8_t r, g, b, y, m, c;