summaryrefslogtreecommitdiff
path: root/src/libjpeg/jdapimin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjpeg/jdapimin.c')
-rw-r--r--src/libjpeg/jdapimin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libjpeg/jdapimin.c b/src/libjpeg/jdapimin.c
index cadb59f..a55498f 100644
--- a/src/libjpeg/jdapimin.c
+++ b/src/libjpeg/jdapimin.c
@@ -2,6 +2,7 @@
* jdapimin.c
*
* Copyright (C) 1994-1998, Thomas G. Lane.
+ * Modified 2009 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -185,8 +186,8 @@ default_decompress_parms (j_decompress_ptr cinfo)
}
/* Set defaults for other decompression parameters. */
- cinfo->scale_num = 1; /* 1:1 scaling */
- cinfo->scale_denom = 1;
+ cinfo->scale_num = DCTSIZE; /* 1:1 scaling */
+ cinfo->scale_denom = DCTSIZE;
cinfo->output_gamma = 1.0;
cinfo->buffered_image = FALSE;
cinfo->raw_data_out = FALSE;