funasr/runtime/onnxruntime/src/audio.cpp
@@ -1163,8 +1163,8 @@ }else if(speech_end_i != -1){ // [-1,100] if(speech_start == -1 or speech_offline_start == -1){ LOG(ERROR) <<"Vad start is null while vad end is available." ; exit(-1); LOG(ERROR) <<"Vad start is null while vad end is available. Set vad start 0" ; speech_start = 0; } int start = speech_start*seg_sample;