From 1b6b10ab2db6ec067ef9e1089060449f78aa4e65 Mon Sep 17 00:00:00 2001
From: zhuzizyf <42790740+zhuzizyf@users.noreply.github.com>
Date: 星期四, 04 五月 2023 10:42:25 +0800
Subject: [PATCH] Update e2e-vad.h

---
 funasr/runtime/onnxruntime/src/audio.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/audio.cpp b/funasr/runtime/onnxruntime/src/audio.cpp
index d104500..8f46a4f 100644
--- a/funasr/runtime/onnxruntime/src/audio.cpp
+++ b/funasr/runtime/onnxruntime/src/audio.cpp
@@ -380,8 +380,10 @@
     FILE* fp;
     fp = fopen(filename, "rb");
     if (fp == nullptr)
+	{
         LOG(ERROR) << "Failed to read " << filename;
         return false;
+	}
     fseek(fp, 0, SEEK_END);
     uint32_t n_file_len = ftell(fp);
     fseek(fp, 0, SEEK_SET);
@@ -517,4 +519,4 @@
         frame_queue.push(frame);
         frame = NULL;
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.9.1