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; }