Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lib_ccx/ccx_encoders_webvtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ int write_stringz_as_webvtt(char *string, struct encoder_ctx *context, LLONG ms_
}
written = write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
if (written != context->encoded_crlf_length)
{
{
free(el);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I know, the CCExtractor uses its own freep as a wrapper for free

return -1;
}
begin += strlen((const char *)begin) + 1;
Expand Down
1 change: 1 addition & 0 deletions src/lib_ccx/general_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1234,5 +1234,6 @@ int rcwt_loop(struct lib_ccx_ctx *ctx)
} // end while(1)

dbg_print(CCX_DMT_PARSE, "Processed %d bytes\n", bread);
free(parsebuf);
return caps;
}