Simplify JBIG decoder.

Signed-off-by: yzrh <yzrh@noema.org>
This commit is contained in:
yzrh 2022-12-25 05:15:56 +00:00
parent 288b65a1fd
commit d2826fa075

View file

@ -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);