Skip to content

Commit

Permalink
fix constness in regions API
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 15, 2023
1 parent 15e60c1 commit f0b30d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libheif/heif_regions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ struct heif_error heif_region_item_add_region_referenced_mask(struct heif_region
struct heif_error heif_region_item_add_region_inline_mask_data(struct heif_region_item* item,
int32_t x, int32_t y,
uint32_t width, uint32_t height,
uint8_t* mask_data,
const uint8_t* mask_data,
size_t mask_data_len,
struct heif_region** out_region)
{
Expand Down
2 changes: 1 addition & 1 deletion libheif/heif_regions.h
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ struct heif_error heif_region_item_add_region_referenced_mask(struct heif_region
struct heif_error heif_region_item_add_region_inline_mask_data(struct heif_region_item* region_item,
int32_t x, int32_t y,
uint32_t width, uint32_t height,
uint8_t* mask_data,
const uint8_t* mask_data,
size_t mask_data_len,
struct heif_region** out_region);

Expand Down

0 comments on commit f0b30d8

Please sign in to comment.