pipeline: zero-init qenc_host_ready, value-init PipelineTTS

The lazy-init flag started on stack garbage. When non-zero the encode
path skipped the codebook load and silently returned empty RVQ codes.
This commit is contained in:
Pascal
2026-05-11 18:27:06 +02:00
parent 7f532f1ed0
commit d5f1e20c08
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ static bool parse_args(int argc, char ** argv, Args & a) {
static int run(const Args & a) {
BackendPair bp = backend_init("Talker");
PipelineTTS pt;
PipelineTTS pt = {};
if (!pipeline_tts_load(&pt, a.model, a.codec, bp)) {
backend_release(bp.backend, bp.cpu_backend);
return 1;