summaryrefslogtreecommitdiff
path: root/jcmaster.c
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-04-03 07:09:49 +0000
committerDRC <dcommander@users.sourceforge.net>2011-04-03 07:09:49 +0000
commite7fde87ca5d1f908dc211cc8141acc648ddde878 (patch)
tree1b78a5aca4ba73300f6b1a3248a3f865f3461df1 /jcmaster.c
parent59a58343ea327a3a2da040bb385001900adf9dce (diff)
Fix jpegoptim with v7 emulation as well
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@568 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jcmaster.c')
-rw-r--r--jcmaster.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/jcmaster.c b/jcmaster.c
index 74df555..3ca346c 100644
--- a/jcmaster.c
+++ b/jcmaster.c
@@ -75,7 +75,9 @@ initial_setup (j_compress_ptr cinfo, boolean transcode_only)
JDIMENSION jd_samplesperrow;
#if JPEG_LIB_VERSION >= 70
+#if JPEG_LIB_VERSION >= 80
if (!transcode_only)
+#endif
jpeg_calc_jpeg_dimensions(cinfo);
#endif