mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-13 05:31:14 +00:00
[FIX] segmentation fault on encoding McPoodle's raw to WebVTT (#1329)
This commit is contained in:
parent
4f5bd7bf37
commit
a2af0d7044
@ -207,7 +207,7 @@ void write_webvtt_header(struct encoder_ctx *context)
|
||||
if (context->wrote_webvtt_header) // Already done
|
||||
return;
|
||||
|
||||
if (context->timing->sync_pts2fts_set)
|
||||
if (context->timing != NULL && context->timing->sync_pts2fts_set)
|
||||
{
|
||||
char header_string[200];
|
||||
int used;
|
||||
|
Loading…
Reference in New Issue
Block a user