Skip to content

Commit 677fee4

Browse files
author
Carlos Fernandez
committed
Start segments at 1
1 parent 72dad74 commit 677fee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_ccx/lib_ccx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ struct encoder_ctx *update_encoder_list_cinfo(struct lib_ccx_ctx *ctx, struct ca
340340
freep(&ccx_options.enc_cfg.output_filename);
341341
ccx_options.enc_cfg.output_filename = malloc(len);
342342

343-
sprintf(ccx_options.enc_cfg.output_filename, "%s_%06d%s", ctx->basefilename, ctx->segment_counter, extension);
343+
sprintf(ccx_options.enc_cfg.output_filename, "%s_%06d%s", ctx->basefilename, ctx->segment_counter+1, extension);
344344
}
345345
if (list_empty(&ctx->enc_ctx_head))
346346
{

0 commit comments

Comments
 (0)