From 00e038e22009a2014ba52f315045d875e96c93a7 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 12 十月 2023 13:05:03 +0800
Subject: [PATCH] fix func of FfmpegLoad for unexpected file format
---
funasr/runtime/onnxruntime/include/audio.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/include/audio.h b/funasr/runtime/onnxruntime/include/audio.h
index 77a0021..34fcbaf 100644
--- a/funasr/runtime/onnxruntime/include/audio.h
+++ b/funasr/runtime/onnxruntime/include/audio.h
@@ -36,6 +36,8 @@
bool is_final = false;
float* data = nullptr;
int len;
+ int global_start = 0; // the start of a frame in the global time axis. in ms
+ int global_end = 0; // the end of a frame in the global time axis. in ms
};
class Audio {
--
Gitblit v1.9.1