aboutsummaryrefslogtreecommitdiff
path: root/jdhuff.c
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-10-09 19:57:51 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-10-09 19:57:51 +0000
commitae827127fad8d8e0f67fa7c0439ef936e2415550 (patch)
tree169ddee38f19d49d054222bdb8bb932bb4b749b6 /jdhuff.c
parent280940059f875ca9b2b8539a4f17b1dd625aa85b (diff)
Improve readability and flexibility of compatibility macros
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@241 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jdhuff.c')
-rw-r--r--jdhuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jdhuff.c b/jdhuff.c
index 3aa8dad..ab8e254 100644
--- a/jdhuff.c
+++ b/jdhuff.c
@@ -139,7 +139,7 @@ start_pass_huff_decoder (j_decompress_ptr cinfo)
if (compptr->component_needed) {
entropy->dc_needed[blkn] = TRUE;
/* we don't need the ACs if producing a 1/8th-size image */
- entropy->ac_needed[blkn] = (_DCT_scaled_size > 1);
+ entropy->ac_needed[blkn] = (compptr->_DCT_scaled_size > 1);
} else {
entropy->dc_needed[blkn] = entropy->ac_needed[blkn] = FALSE;
}