fix generate_video

This commit is contained in:
leejet 2026-05-11 01:29:01 +08:00
parent 4fdf43a470
commit 77380738d8

View File

@ -4199,7 +4199,7 @@ SD_API bool generate_video(sd_ctx_t* sd_ctx,
if (sd_ctx->sd->free_params_immediately) { if (sd_ctx->sd->free_params_immediately) {
sd_ctx->sd->high_noise_diffusion_model->free_params_buffer(); sd_ctx->sd->high_noise_diffusion_model->free_params_buffer();
} }
return nullptr; return false;
} }
x_t = std::move(x_t_sampled); x_t = std::move(x_t_sampled);