XDS segfault fix

Fixes segfault on using TTXT + XDS
This commit is contained in:
wforums 2014-08-12 10:39:01 +02:00
parent cc7ebbc4d7
commit 4e6c0352b0

View File

@ -142,6 +142,7 @@ int write_xds_string(struct cc_subtitle *sub,char *p,size_t len)
data->xds_len = len;
data->cur_xds_packet_class = cur_xds_packet_class;
sub->nb_data++;
sub->type = CC_608;
sub->got_output = 1;
}