Displaying 2 results from an estimated 2 matches for "png_warning".
Did you mean:
log_warning
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
...th, png_uint_32 height, int bit_depth,
>> int color_type, int interlace_type, int compression_type,
>> int filter_type)
>> {
>> int error = 0;
>>
>> /* Check for width and height valid values */
>> if (width == 0)
>> {
>> png_warning(png_ptr, "Image width is zero in IHDR");
>> error = 1;
>> }
>> else if (width > PNG_UINT_31_MAX)
>> {
>> png_warning(png_ptr, "Invalid image width in IHDR");
>> error = 1;
>> }
>>
>>
>>...
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
...void /* PRIVATE */
png_check_IHDR(png_const_structrp png_ptr,
png_uint_32 width, png_uint_32 height, int bit_depth,
int color_type, int interlace_type, int compression_type,
int filter_type)
{
int error = 0;
/* Check for width and height valid values */
if (width == 0)
{
png_warning(png_ptr, "Image width is zero in IHDR");
error = 1;
}
else if (width > PNG_UINT_31_MAX)
{
png_warning(png_ptr, "Invalid image width in IHDR");
error = 1;
}
* else {# ifdef PNG_SET_USER_LIMITS_SUPPORTED if (width >
png_ptr...