diff options
author | Pierre Ossman <ossman@cendio.se> | 2009-03-13 12:17:26 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2009-03-13 12:17:26 +0000 |
commit | 0af45cd18b3b81c833aac566baea52027d3d74f8 (patch) | |
tree | dcad9f60e894cb42a67da25f4336cdec526bfbed /common | |
parent | 41f044277eb7b84b6655f13585f7e1ab087c667c (diff) | |
download | tigervnc-0af45cd18b3b81c833aac566baea52027d3d74f8.tar.gz tigervnc-0af45cd18b3b81c833aac566baea52027d3d74f8.zip |
Move variable init around a bit to please crappy compilers.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3670 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common')
-rw-r--r-- | common/jpeg/jcdctmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/jpeg/jcdctmgr.c b/common/jpeg/jcdctmgr.c index ba835448..67f82280 100644 --- a/common/jpeg/jcdctmgr.c +++ b/common/jpeg/jcdctmgr.c @@ -411,10 +411,10 @@ forward_DCT (j_compress_ptr cinfo, jpeg_component_info * compptr, 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 @@ forward_DCT_float (j_compress_ptr cinfo, jpeg_component_info * compptr, /* 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 */ |