Skip to content

Commit

Permalink
Merge pull request #8 from yoya/master
Browse files Browse the repository at this point in the history
build for macOS high sierra.
  • Loading branch information
fancycode committed Apr 23, 2018
2 parents 3fc9680 + 7ac92eb commit cd8029a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/encoder_jpeg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ bool JpegEncoder::Encode(const struct heif_image_handle* handle,
cinfo.input_components = 3;
cinfo.in_color_space = JCS_YCbCr;
jpeg_set_defaults(&cinfo);
static const bool kForceBaseline = true;
static const boolean kForceBaseline = TRUE;
jpeg_set_quality(&cinfo, quality_, kForceBaseline);
static const bool kWriteAllTables = true;
static const boolean kWriteAllTables = TRUE;
jpeg_start_compress(&cinfo, kWriteAllTables);

size_t exifsize = 0;
Expand Down
1 change: 1 addition & 0 deletions examples/encoder_png.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* along with convert. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <errno.h>
#include <math.h>
#include <png.h>
#include <string.h>
Expand Down

0 comments on commit cd8029a

Please sign in to comment.