Skip to content

Commit

Permalink
fix position of #endif
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Nov 4, 2024
1 parent 3241f2c commit 2339c6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libheif/file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,14 @@ Error HeifFile::parse_heif_file()
}
return Error::Ok;
}
#endif

m_meta_box = m_file_layout->get_meta_box();
m_top_level_boxes.push_back(m_meta_box);
// TODO: we are missing 'mdat' top level boxes

// if we didn't find the mini box, meta is required
#endif

if (!m_meta_box) {
return Error(heif_error_Invalid_input,
heif_suberror_No_meta_box);
Expand Down

0 comments on commit 2339c6a

Please sign in to comment.