From: DRC Date: Fri, 21 Mar 2014 09:29:28 +0000 (+0000) Subject: Fix compiler warning about unused function when building with the libjpeg v6b API/ABI X-Git-Tag: 1.3.1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=506a742193ed5549074f40c3e0d2f0fd2eefb22b;p=libjpeg-turbo 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 --- diff --git a/transupp.c b/transupp.c index 70e8c49..a16b20a 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.