Skip to content

Commit

Permalink
fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
dukesook committed Nov 4, 2023
1 parent 9a13593 commit 9a425a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/heif_properties.cc
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ struct heif_error heif_property_get_tai_timestamp(const struct heif_context* con
auto ipco = file->get_ipco_box();
auto impa = file->get_ipma_box();
auto prop = ipco->get_property_for_item_ID(itemId, impa, fourcc("itai"));
auto itai = std::dynamic_pointer_cast<Box_taic>(prop);
auto itai = std::dynamic_pointer_cast<Box_itai>(prop);
if (!itai) {
return {heif_error_Usage_error, heif_suberror_Invalid_property, "Timestamp property not found"};
}
Expand Down

0 comments on commit 9a425a8

Please sign in to comment.