From d1c265d3ce427a56a04f2c31b4c3dc3492255562 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 09 八月 2023 11:11:11 +0800
Subject: [PATCH] Merge branch 'main' of github.com:alibaba-damo-academy/FunASR add

---
 funasr/runtime/onnxruntime/src/commonfunc.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index 8734d6d..84cdbaf 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -4,20 +4,20 @@
 namespace funasr {
 typedef struct
 {
-    std::string msg;
-    std::string tpass_msg;
-    float snippet_time;
+    std::string msg="";
+    std::string tpass_msg="";
+    float snippet_time=0;
 }FUNASR_RECOG_RESULT;
 
 typedef struct
 {
     std::vector<std::vector<int>>* segments;
-    float  snippet_time;
+    float  snippet_time=0;
 }FUNASR_VAD_RESULT;
 
 typedef struct
 {
-    string msg;
+    string msg=0;
     vector<string> arr_cache;
 }FUNASR_PUNC_RESULT;
 

--
Gitblit v1.9.1