]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
minor : fix code style (#3463)
authorGeorgi Gerganov <redacted>
Fri, 10 Oct 2025 08:33:01 +0000 (11:33 +0300)
committerGeorgi Gerganov <redacted>
Fri, 10 Oct 2025 08:33:01 +0000 (11:33 +0300)
src/whisper.cpp

index 8992a144e2da1cd21f724803e99254bd45a87052..a212b7c9272191b59d7e3207ed3cb5721530da02 100644 (file)
@@ -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;