Skip to content

Commit

Permalink
evc: update to match libheif changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh committed Nov 22, 2024
1 parent f9e97ca commit ba23be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libheif/codecs/decoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ std::shared_ptr<Decoder> Decoder::alloc_for_infe_type(const ImageItem* item)
}
#endif
case fourcc("evc1"): {
auto evcC = ctx->get_heif_file()->get_property<Box_evcC>(id);
auto evcC = item->get_property<Box_evcC>();
return std::make_shared<Decoder_EVC>(evcC);
}
case fourcc("mski"): {
Expand Down
2 changes: 1 addition & 1 deletion tests/evc_box.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
SOFTWARE.
*/

#include "catch.hpp"
#include "catch_amalgamated.hpp"
#include "codecs/evc_boxes.h"
#include "error.h"
#include <cstdint>
Expand Down

0 comments on commit ba23be4

Please sign in to comment.