Skip to content

Commit aad5295

Browse files
finnvoorggerganov
authored andcommitted
whisper : fix uninitialized exp_n_audio_ctx
1 parent c15e84e commit aad5295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

whisper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ struct whisper_context {
601601
std::vector<float> energy; // PCM signal energy
602602

603603
// [EXPERIMENTAL] speed-up techniques
604-
int32_t exp_n_audio_ctx; // 0 - use default
604+
int32_t exp_n_audio_ctx = 0; // 0 - use default
605605

606606
void use_buf(struct ggml_context * ctx, int i) {
607607
#if defined(WHISPER_USE_SCRATCH)

0 commit comments

Comments
 (0)