summaryrefslogtreecommitdiff
path: root/jdapistd.c
diff options
context:
space:
mode:
Diffstat (limited to 'jdapistd.c')
-rw-r--r--jdapistd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jdapistd.c b/jdapistd.c
index c8e3fa0..9d74537 100644
--- a/jdapistd.c
+++ b/jdapistd.c
@@ -202,7 +202,7 @@ jpeg_read_raw_data (j_decompress_ptr cinfo, JSAMPIMAGE data,
}
/* Verify that at least one iMCU row can be returned. */
- lines_per_iMCU_row = cinfo->max_v_samp_factor * cinfo->min_DCT_scaled_size;
+ lines_per_iMCU_row = cinfo->max_v_samp_factor * cinfo->min_DCT_v_scaled_size;
if (max_lines < lines_per_iMCU_row)
ERREXIT(cinfo, JERR_BUFFER_SIZE);