diff --git a/examples/stream/stream.cpp b/examples/stream/stream.cpp index c7aa871..9f0c16c 100644 --- a/examples/stream/stream.cpp +++ b/examples/stream/stream.cpp @@ -459,7 +459,7 @@ int main(int argc, char ** argv) { struct whisper_context * ctx = whisper_init_from_file(params.model.c_str()); std::vector pcmf32 (n_samples_30s, 0.0f); - std::vector pcmf32_old(n_samples_30s, 0.0f); + std::vector pcmf32_old; std::vector pcmf32_new(n_samples_30s, 0.0f); std::vector prompt_tokens;