mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-09-30 03:21:18 +02:00
minor : fix code style (#3463)
This commit is contained in:
+2
-1
@@ -6620,8 +6620,9 @@ static bool whisper_vad(
|
||||
|
||||
whisper_vad_segments * vad_segments = whisper_vad_segments_from_samples(vctx, vad_params, samples, n_samples);
|
||||
|
||||
if(!vad_segments)
|
||||
if (!vad_segments) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (vad_segments->data.size() > 0) {
|
||||
state->has_vad_segments = true;
|
||||
|
||||
Reference in New Issue
Block a user