aboutsummaryrefslogtreecommitdiff
path: root/transupp.c
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2014-03-21 09:29:28 +0000
committerDRC <dcommander@users.sourceforge.net>2014-03-21 09:29:28 +0000
commit506a742193ed5549074f40c3e0d2f0fd2eefb22b (patch)
tree5727461ea90baf386d7b8b10ef5d389d3e793e5c /transupp.c
parentad64b5a4c9909ff23b234c9165afefd17a5bf0db (diff)
downloadlibjpeg-turbo-506a742193ed5549074f40c3e0d2f0fd2eefb22b.tar.gz
Fix compiler warning about unused function when building with the libjpeg v6b API/ABI
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1189 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'transupp.c')
-rw-r--r--transupp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/transupp.c b/transupp.c
index 70e8c498..a16b20a5 100644
--- a/transupp.c
+++ b/transupp.c
@@ -1176,6 +1176,7 @@ transpose_critical_parameters (j_compress_ptr dstinfo)
* We try to adjust the Tags ExifImageWidth and ExifImageHeight if possible.
*/
+#if JPEG_LIB_VERSION >= 70
LOCAL(void)
adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
JDIMENSION new_width, JDIMENSION new_height)
@@ -1325,6 +1326,7 @@ adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
offset += 12;
} while (--number_of_tags);
}
+#endif
/* Adjust output image parameters as needed.