Fix build error on GCC 13.1.0 73/295073/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20230704.165319
authorSeungbae Shin <seungbae.shin@samsung.com>
Wed, 28 Jun 2023 10:43:20 +0000 (19:43 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Sun, 2 Jul 2023 22:57:45 +0000 (07:57 +0900)
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
(cherry picked from commit 403d03003ec12cf499c72417031f7d7c6b9aa4f9)

include/heif_itemtable.h
packaging/libheif.spec

index cdb55dafe68d600e201f862db198f7770293c36f..d1d1491cd4b986c7c0566fd3662cf2f26f55c399 100644 (file)
@@ -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);
index 4e1786d3a6feb7b1d95a4f84fb9eb7581ec93317..f2faf2aa7a648fa5e2b62c54af5b1e5258651d11 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libheif
 Summary:    Multimedia Framework Library for HEIF(ISO/IEC 23008-12) image
-Version:    0.0.9
+Version:    0.0.10
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0