From d38505f97a6504c082a0e9bfa2c4ee0a64bb37f2 Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Thu, 9 Jun 2022 13:22:01 +0900 Subject: [PATCH] mv_machine_learning: return correct error value [Issue type] bug fix Fixed a bug that CheckBackendType function returns wrong error value. Change-Id: If3cbcc4039ad825238b56418b74dfa86b408b85e Signed-off-by: Inki Dae --- mv_machine_learning/inference/src/Inference.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mv_machine_learning/inference/src/Inference.cpp b/mv_machine_learning/inference/src/Inference.cpp index e2c9e19..67af6b1 100755 --- a/mv_machine_learning/inference/src/Inference.cpp +++ b/mv_machine_learning/inference/src/Inference.cpp @@ -517,7 +517,7 @@ namespace inference mSupportedInferenceBackend[backendType]; if (backend.second == false) { LOGE("%s type is not supported", (backend.first).c_str()); - return MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT; + return MEDIA_VISION_ERROR_NOT_SUPPORTED; } LOGI("backend engine : %d", backendType); -- 2.7.4