mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
58a8ded621
commit
0f41b70a6e
@@ -450,7 +450,9 @@ struct encoder_ctx *update_encoder_list_cinfo(struct lib_ccx_ctx *ctx, struct ca
|
||||
enc_ctx = init_encoder(&local_cfg);
|
||||
freep(&local_cfg.output_filename); // safely free the malloc'd string
|
||||
if (!enc_ctx)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
list_add_tail(&(enc_ctx->list), &(ctx->enc_ctx_head));
|
||||
}
|
||||
if (list_empty(&ctx->enc_ctx_head))
|
||||
@@ -459,7 +461,9 @@ struct encoder_ctx *update_encoder_list_cinfo(struct lib_ccx_ctx *ctx, struct ca
|
||||
ccx_options.enc_cfg.in_format = in_format;
|
||||
enc_ctx = init_encoder(&ccx_options.enc_cfg);
|
||||
if (!enc_ctx)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
list_add_tail(&(enc_ctx->list), &(ctx->enc_ctx_head));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user