]> granicus.if.org Git - libjpeg-turbo/commitdiff
Fix v7/v8-compatible build
authorDRC <information@libjpeg-turbo.org>
Mon, 22 Feb 2016 16:00:19 +0000 (10:00 -0600)
committerDRC <information@libjpeg-turbo.org>
Mon, 22 Feb 2016 16:01:16 +0000 (10:01 -0600)
Broken by 3ab68cf563f6edc2608c085f5c8b2d5d5c61157e

Fixes #60

jdapistd.c

index 06076cb766e4979a0a746ad4e120e1e223f59b17..37afc8448b93ea0cad5e744b0ef899a0b7c316ec 100644 (file)
@@ -190,7 +190,7 @@ jpeg_crop_scanline (j_decompress_ptr cinfo, JDIMENSION *xoffset,
    * single-pass decompression case, allowing us to use the same MCU column
    * width for all of the components.
    */
-  align = cinfo->min_DCT_scaled_size * cinfo->max_h_samp_factor;
+  align = cinfo->_min_DCT_scaled_size * cinfo->max_h_samp_factor;
 
   /* Adjust xoffset to the nearest iMCU boundary <= the requested value */
   input_xoffset = *xoffset;