summaryrefslogtreecommitdiff
path: root/jpeg/jdapimin.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2011-02-15 15:25:53 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2011-02-15 15:25:53 +0000
commit1216e9530fe541df6b95ffa39d00df9919cee4fa (patch)
tree38f5fb51bbbd369dcd9ad33f2a7cada19ae85eff /jpeg/jdapimin.c
parent5d1669e2730d21e3f48739002619b3605c32ed23 (diff)
Update JPEG library to v8b.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'jpeg/jdapimin.c')
-rw-r--r--jpeg/jdapimin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/jpeg/jdapimin.c b/jpeg/jdapimin.c
index cadb59fce..7f1ce4c05 100644
--- a/jpeg/jdapimin.c
+++ b/jpeg/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 = cinfo->block_size; /* 1:1 scaling */
+ cinfo->scale_denom = cinfo->block_size;
cinfo->output_gamma = 1.0;
cinfo->buffered_image = FALSE;
cinfo->raw_data_out = FALSE;