Move variable init around a bit to please crappy compilers.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@26 632fc199-4ca6-4c93-a231-07263d6284db
diff --git a/jcdctmgr.c b/jcdctmgr.c
index ba83544..67f8228 100644
--- a/jcdctmgr.c
+++ b/jcdctmgr.c
@@ -411,10 +411,10 @@
JDIMENSION bi;
/* Make sure the compiler doesn't look up these every pass */
- workspace = fdct->workspace;
forward_DCT_method_ptr do_dct = fdct->dct;
convsamp_method_ptr do_convsamp = fdct->convsamp;
quantize_method_ptr do_quantize = fdct->quantize;
+ workspace = fdct->workspace;
sample_data += start_row; /* fold in the vertical offset once */
@@ -502,10 +502,10 @@
/* Make sure the compiler doesn't look up these every pass */
- workspace = fdct->float_workspace;
float_DCT_method_ptr do_dct = fdct->float_dct;
float_convsamp_method_ptr do_convsamp = fdct->float_convsamp;
float_quantize_method_ptr do_quantize = fdct->float_quantize;
+ workspace = fdct->float_workspace;
sample_data += start_row; /* fold in the vertical offset once */