Merge branch 'pr/n649_sidgairo18'

This commit is contained in:
Carlos Fernandez 2017-01-17 11:53:13 -08:00
commit bb026a7318
2 changed files with 3 additions and 1 deletions

View File

@ -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);
return -1;
}
begin += strlen((const char *)begin) + 1;

View File

@ -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;
}