mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1298] [FIX] segmentation fault on encoding McPoodle's raw to WebVTT #2079
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1298
State: closed
Merged: No
In raising this pull request, I confirm the following (please checkboxes):
My familiarity with the project is as follows (check one):
Fixes #1294
Changes
The problem occurs in the initialization of the encoder context. The
mallocfunction acts differently forUK_ITVBE.ts(here,ctx->timingis not null) andcc_sample_dos2unix.bin(here,ctx->timingis set tonull)cf84757e02/src/lib_ccx/ccx_encoders_common.c (L935-L939)I added a fix by allocating memory for
ctx->timing.