Fix compiler warning about unused function when building with the libjpeg v6b API/ABI
This commit is contained in:
@@ -1176,6 +1176,7 @@ transpose_critical_parameters (j_compress_ptr dstinfo)
|
|||||||
* We try to adjust the Tags ExifImageWidth and ExifImageHeight if possible.
|
* We try to adjust the Tags ExifImageWidth and ExifImageHeight if possible.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if JPEG_LIB_VERSION >= 70
|
||||||
LOCAL(void)
|
LOCAL(void)
|
||||||
adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
|
adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
|
||||||
JDIMENSION new_width, JDIMENSION new_height)
|
JDIMENSION new_width, JDIMENSION new_height)
|
||||||
@@ -1325,6 +1326,7 @@ adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
|
|||||||
offset += 12;
|
offset += 12;
|
||||||
} while (--number_of_tags);
|
} while (--number_of_tags);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Adjust output image parameters as needed.
|
/* Adjust output image parameters as needed.
|
||||||
|
|||||||
Reference in New Issue
Block a user