$NetBSD: patch-af,v 1.1.1.1 2003/12/21 21:29:09 wiz Exp $ --- Encoder/lossy_e.c.orig Tue Jun 22 20:17:12 1999 +++ Encoder/lossy_e.c @@ -91,7 +91,7 @@ inline void lossy_regular_mode(int Q, in Px = Px + (SIGN) * C[Q]; clip(Px,alpha); Errval = SIGN * (Ix - Px); - qErrval = qdiv[Errval]; + qErrval = qdiv1[Errval]; iqErrval = qmul[qErrval]; Rx = Px + SIGN * iqErrval; @@ -209,7 +209,7 @@ pixel lossy_end_of_run(pixel Ra, pixel R Errval = -Errval; } - qErrval = qdiv[Errval]; + qErrval = qdiv1[Errval]; iqErrval = qmul[qErrval]; if ( RItype || (Rb >= Ra) )