summaryrefslogtreecommitdiff
path: root/jpeg/jdapistd.c
diff options
context:
space:
mode:
Diffstat (limited to 'jpeg/jdapistd.c')
-rw-r--r--jpeg/jdapistd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpeg/jdapistd.c b/jpeg/jdapistd.c
index c8e3fa0c3..9d7453777 100644
--- a/jpeg/jdapistd.c
+++ b/jpeg/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);