From ba23be47a0275b256a4ff2524dcac4397585792d Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Sat, 23 Nov 2024 08:20:48 +1100 Subject: [PATCH] evc: update to match libheif changes --- libheif/codecs/decoder.cc | 2 +- tests/evc_box.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libheif/codecs/decoder.cc b/libheif/codecs/decoder.cc index 6e9ecbea76..4f15abd4e2 100644 --- a/libheif/codecs/decoder.cc +++ b/libheif/codecs/decoder.cc @@ -136,7 +136,7 @@ std::shared_ptr Decoder::alloc_for_infe_type(const ImageItem* item) } #endif case fourcc("evc1"): { - auto evcC = ctx->get_heif_file()->get_property(id); + auto evcC = item->get_property(); return std::make_shared(evcC); } case fourcc("mski"): { diff --git a/tests/evc_box.cc b/tests/evc_box.cc index fa5306f0cd..d8212f4201 100644 --- a/tests/evc_box.cc +++ b/tests/evc_box.cc @@ -24,7 +24,7 @@ SOFTWARE. */ -#include "catch.hpp" +#include "catch_amalgamated.hpp" #include "codecs/evc_boxes.h" #include "error.h" #include