Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
ufraw
ufraw-0.22-jpeg9.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ufraw-0.22-jpeg9.patch of Package ufraw
Fix build with >=jpeg-9 Thanks-to: Moran Z. <o542018138@gmail.com> diff --git a/dcraw.cc b/dcraw.cc index 81543b2..5d793d6 100644 --- a/dcraw.cc +++ b/dcraw.cc @@ -2404,7 +2404,7 @@ fill_input_buffer (j_decompress_ptr cinfo) #endif cinfo->src->next_input_byte = jpeg_buffer; cinfo->src->bytes_in_buffer = nbytes; - return TRUE; + return boolean(TRUE); } void CLASS kodak_jpeg_load_raw() @@ -2420,7 +2420,7 @@ void CLASS kodak_jpeg_load_raw() jpeg_create_decompress (&cinfo); jpeg_stdio_src (&cinfo, ifp); cinfo.src->fill_input_buffer = fill_input_buffer; - jpeg_read_header (&cinfo, TRUE); + jpeg_read_header (&cinfo, boolean(TRUE)); jpeg_start_decompress (&cinfo); if ((cinfo.output_width != width ) || (cinfo.output_height*2 != height ) || @@ -2493,7 +2493,7 @@ void CLASS lossy_dng_load_raw() if (tile_length < INT_MAX) fseek (ifp, get4(), SEEK_SET); jpeg_stdio_src (&cinfo, ifp); - jpeg_read_header (&cinfo, TRUE); + jpeg_read_header (&cinfo, boolean(TRUE)); jpeg_start_decompress (&cinfo); buf = (*cinfo.mem->alloc_sarray) ((j_common_ptr) &cinfo, JPOOL_IMAGE, cinfo.output_width*3, 1);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor