diff options
Diffstat (limited to 'graphics/jpeg_ls/patches/patch-af')
-rw-r--r-- | graphics/jpeg_ls/patches/patch-af | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/jpeg_ls/patches/patch-af b/graphics/jpeg_ls/patches/patch-af new file mode 100644 index 00000000000..1809f375abe --- /dev/null +++ b/graphics/jpeg_ls/patches/patch-af @@ -0,0 +1,22 @@ +$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) ) |