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