From 29535710fed3e52a7a3293a082858d344607883d Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 27 Oct 2025 22:12:09 -0500 Subject: [PATCH] fix(component): properly set features list in CountFacialFeatures --- src/component/Util.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/component/Util.cpp b/src/component/Util.cpp index 9f10aaa..63d679f 100644 --- a/src/component/Util.cpp +++ b/src/component/Util.cpp @@ -226,5 +226,7 @@ int32_t CountFacialFeatures(uint32_t varArrayLength, uint32_t** featuresListPtr) featuresList[listIndex]++; } - return 0; + *featuresListPtr = featuresList; + + return 1; }