From: Seungbae Shin Date: Wed, 28 Jun 2023 10:43:20 +0000 (+0900) Subject: Fix build error on GCC 13.1.0 X-Git-Tag: accepted/tizen/unified/20230630.124044^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_8.0;p=platform%2Fcore%2Fmultimedia%2Flibheif.git Fix build error on GCC 13.1.0 error: conflicting types for 'heif_itemtable_get_image_mirror_mode' due to enum/integer mismatch; have 'int(void *, heif_mirror_mode_e *)' [-Werror=enum-int-mismatch] Change-Id: Idbde4788d1e584366e6f2c8f159cb22d827877ef --- diff --git a/include/heif_itemtable.h b/include/heif_itemtable.h index cdb55da..d1d1491 100644 --- a/include/heif_itemtable.h +++ b/include/heif_itemtable.h @@ -43,7 +43,7 @@ int heif_itemtable_get_image_item(heif_itemtable_h handle, unsigned int item_id, int heif_itemtable_get_thumb_item(heif_itemtable_h handle, heif_image_item_h *thumb_item); int heif_itemtable_get_image_resolution(heif_image_item_h image_item, unsigned int *width, unsigned int *height); int heif_itemtable_get_image_orientation(heif_image_item_h image_item, unsigned int *orientation); -int heif_itemtable_get_image_mirror_mode(heif_image_item_h image_item, unsigned int *axis); +int heif_itemtable_get_image_mirror_mode(heif_image_item_h image_item, heif_mirror_mode_e *mirror); int heif_itemtable_get_grid_info(heif_image_item_h image_item, unsigned int *row, unsigned int *column, GSList **img_refs); int heif_itemtable_get_coded_data(heif_itemtable_h handle, heif_image_item_h image_item, heif_buffer_t **coded_data); int heif_itemtable_get_exif(heif_itemtable_h handle, heif_image_item_h image_item, void **exif, size_t *exif_size); diff --git a/packaging/libheif.spec b/packaging/libheif.spec index f2faf2a..5195939 100644 --- a/packaging/libheif.spec +++ b/packaging/libheif.spec @@ -1,6 +1,6 @@ Name: libheif Summary: Multimedia Framework Library for HEIF(ISO/IEC 23008-12) image -Version: 0.0.10 +Version: 0.0.11 Release: 0 Group: Multimedia/Libraries License: Apache-2.0