diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-22 12:56:03 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-22 12:56:46 +0200 |
commit | 76a2e7faf00bff6294844e0b43d9fa17f4a78cee (patch) | |
tree | c8a0afeb0302e10e794d9368867e87ad998adbe6 | |
parent | gbuild: LinkTarget: try to fix gb_LinkTarget_add_auxtarget for make 3.81 (diff) | |
download | core-76a2e7faf00bff6294844e0b43d9fa17f4a78cee.tar.gz core-76a2e7faf00bff6294844e0b43d9fa17f4a78cee.zip |
adjust_exif_parameters defined but not used [-Werror=unused-function]
Change-Id: I2bb49bd85844d35301372b4f9d06f11db27fe9ea
-rw-r--r-- | vcl/source/filter/jpeg/transupp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/filter/jpeg/transupp.c b/vcl/source/filter/jpeg/transupp.c index 54472ff25f8d..33da62354d8d 100644 --- a/vcl/source/filter/jpeg/transupp.c +++ b/vcl/source/filter/jpeg/transupp.c @@ -1198,6 +1198,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) @@ -1347,6 +1348,7 @@ adjust_exif_parameters (JOCTET FAR * data, unsigned int length, offset += 12; } while (--number_of_tags); } +#endif /* Adjust output image parameters as needed. |