From 09ac2832f0ada48e544507d234edcca62e359803 Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Sat, 16 Nov 2024 20:10:15 +0100 Subject: [PATCH] fix error value when SharpYuv is not available --- libheif/color-conversion/rgb2yuv_sharp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libheif/color-conversion/rgb2yuv_sharp.cc b/libheif/color-conversion/rgb2yuv_sharp.cc index ca19cd8569..2326ca4715 100644 --- a/libheif/color-conversion/rgb2yuv_sharp.cc +++ b/libheif/color-conversion/rgb2yuv_sharp.cc @@ -273,6 +273,6 @@ Op_Any_RGB_to_YCbCr_420_Sharp::convert_colorspace( return outimg; #else - return nullptr; + return Error::InternalError; #endif }