mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-25 20:32:10 +00:00
XDS segfault fix
Fixes segfault on using TTXT + XDS
This commit is contained in:
parent
cc7ebbc4d7
commit
4e6c0352b0
@ -142,6 +142,7 @@ int write_xds_string(struct cc_subtitle *sub,char *p,size_t len)
|
|||||||
data->xds_len = len;
|
data->xds_len = len;
|
||||||
data->cur_xds_packet_class = cur_xds_packet_class;
|
data->cur_xds_packet_class = cur_xds_packet_class;
|
||||||
sub->nb_data++;
|
sub->nb_data++;
|
||||||
|
sub->type = CC_608;
|
||||||
sub->got_output = 1;
|
sub->got_output = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user