From 45e4d2443463a2a3ad2fbbf64166f4c2c14d2f43 Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Mon, 7 Oct 2024 14:52:20 +0200 Subject: [PATCH] fix copy-n-paste error --- libheif/codecs/decoder.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libheif/codecs/decoder.cc b/libheif/codecs/decoder.cc index 3c27dd6209..a1568ba209 100644 --- a/libheif/codecs/decoder.cc +++ b/libheif/codecs/decoder.cc @@ -36,7 +36,7 @@ #include "vvc_boxes.h" #include "jpeg_boxes.h" #include "jpeg2000_boxes.h" - +#include "codecs/uncompressed/unc_dec.h" void DataExtent::set_from_image_item(std::shared_ptr file, heif_item_id item) @@ -125,8 +125,9 @@ std::shared_ptr Decoder::alloc_for_infe_type(const HeifContext* ctx, he } #if WITH_UNCOMPRESSED_CODEC case fourcc("unci"): { - auto jpgC = ctx->get_heif_file()->get_property(id); - return std::make_shared(jpgC); + auto uncC = ctx->get_heif_file()->get_property(id); + auto cmpd = ctx->get_heif_file()->get_property(id); + return std::make_shared(uncC,cmpd); } #endif case fourcc("mski"): {