Skip to content

Commit

Permalink
iden: fix reversed variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh committed Jan 8, 2024
1 parent b0711b0 commit 90b401b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libheif/file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -758,12 +758,12 @@ Error HeifFile::get_compressed_image_data(heif_item_id ID, std::vector<uint8_t>*

if (item_type == "iden") {
// we want to return the image data for the source image
heif_item_id from_ID;
Error error = get_source_image_id(ID, &from_ID);
heif_item_id to_ID;
Error error = get_source_image_id(ID, &to_ID);
if (error) {
return error;
}
ID = from_ID;
ID = to_ID;
}

// --- get coded image data pointers
Expand Down

0 comments on commit 90b401b

Please sign in to comment.