Skip to content

Commit

Permalink
add HEIF note
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba-z committed Apr 15, 2022
1 parent de20866 commit 6209c8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/avif/Writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ void Writer::writeAV1CodecConfigurationRecordBox(AV1CodecConfigurationRecordBox&

void Writer::writeItemPropertyAssociation(ItemPropertyAssociation& box) {
auto context = this->beginFullBoxHeader("ipma", box);
// HEIF (ISO 23008-12:2017) 9.3.1
// There shall be at most one ItemPropertyAssociation box
// with a given pair of values of version and flags.
this->putU32(box.items.size());
for (auto& item : box.items) {
if (box.version() < 1) {
Expand Down

0 comments on commit 6209c8a

Please sign in to comment.