diff --git a/src/jbig.c b/src/jbig.c index 09a3d92..fce8e02 100644 --- a/src/jbig.c +++ b/src/jbig.c @@ -207,7 +207,7 @@ static void _procline(int line, char *a, char *b, char *c) { /* The encoder must be erroneous */ - uint16_t cx = (*b & 0x01) << 2; + uint16_t cx = 0; for (int i = 0; i < _width; i++) { _decode(cx);