Suppressed compiler warnings
This commit is contained in:
parent
78083879a4
commit
3b74b89769
|
@ -387,12 +387,12 @@ quantize (JCOEFPTR coef_block, DCTELEM * divisors, DCTELEM * workspace)
|
||||||
temp = -temp;
|
temp = -temp;
|
||||||
product = (UDCTELEM2)(temp + corr) * recip;
|
product = (UDCTELEM2)(temp + corr) * recip;
|
||||||
product >>= shift + sizeof(DCTELEM)*8;
|
product >>= shift + sizeof(DCTELEM)*8;
|
||||||
temp = product;
|
temp = (DCTELEM)product;
|
||||||
temp = -temp;
|
temp = -temp;
|
||||||
} else {
|
} else {
|
||||||
product = (UDCTELEM2)(temp + corr) * recip;
|
product = (UDCTELEM2)(temp + corr) * recip;
|
||||||
product >>= shift + sizeof(DCTELEM)*8;
|
product >>= shift + sizeof(DCTELEM)*8;
|
||||||
temp = product;
|
temp = (DCTELEM)product;
|
||||||
}
|
}
|
||||||
|
|
||||||
output_ptr[i] = (JCOEF) temp;
|
output_ptr[i] = (JCOEF) temp;
|
||||||
|
|
|
@ -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 0
|
||||||
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,7 +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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue