diff --git a/jpeg/Makefile b/jpeg/Makefile index 6617a24d35f224c9f4d78da72c5c483aa26a16c6..02279d44984cdd8653c8bb6e892a6c9421a5dceb 100644 --- a/jpeg/Makefile +++ b/jpeg/Makefile @@ -53,7 +53,7 @@ MV= mv # library (.a) file creation command AR= ar rc # second step in .a creation (use "touch" if not needed) -AR2= ranlib +RANLIB= ranlib # installation program INSTALL= /bin/install -c INSTALL_PROGRAM= $(INSTALL) @@ -124,7 +124,7 @@ ansi2knr: ansi2knr.c libjpeg.a: $(LIBOBJECTS) $(RM) libjpeg.a $(AR) libjpeg.a $(LIBOBJECTS) - $(AR2) libjpeg.a + $(RANLIB) libjpeg.a cjpeg: $(COBJECTS) libjpeg.a $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.a $(LDLIBS) diff --git a/jpeg/jcdctmgr.c b/jpeg/jcdctmgr.c index ca45d34a96aa0331724547a0fb74d7a898d62138..b29121e129fe5b6478577673260c50fc4a22a6c2 100644 --- a/jpeg/jcdctmgr.c +++ b/jpeg/jcdctmgr.c @@ -242,12 +242,14 @@ forward_DCT (j_compress_ptr cinfo, jpeg_component_info * compptr, for (i = 0; i < DCTSIZE2; i++) { qval = divisors[i]; -/* SRS Hack to get values */ temp = workspace[ZAG[i]]; +#if 0 +/* SRS Hack to get values */ if (bi==0) { printf("%d ",temp); if ((i+1)%8==0) printf("\n"); } +#endif /* Divide the coefficient value by qval, ensuring proper rounding. * Since C does not specify the direction of rounding for negative * quotients, we have to force the dividend positive for portability.