From 4e6c0352b0eb30b5b9458a6617ca825b43204502 Mon Sep 17 00:00:00 2001 From: wforums Date: Tue, 12 Aug 2014 10:39:01 +0200 Subject: [PATCH] XDS segfault fix Fixes segfault on using TTXT + XDS --- src/xds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xds.c b/src/xds.c index 5580f6fa..2949ae34 100644 --- a/src/xds.c +++ b/src/xds.c @@ -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; }