summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/rendersub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c
index 680b5f9ed..eaec996c6 100644
--- a/libhb/rendersub.c
+++ b/libhb/rendersub.c
@@ -653,6 +653,7 @@ static int textsub_work(hb_filter_object_t * filter,
{
switch (pv->type)
{
+ case CC608SUB:
case SRTSUB:
case UTF8SUB:
case TX3GSUB:
@@ -1043,6 +1044,7 @@ static void srt_to_ssa(hb_buffer_t *sub_in)
// Exchange data between input sub and new ssa_sub
// After this, sub_in contains ssa data
hb_buffer_swap_copy(sub_in, sub);
+ ssa = (char*)sub_in->data;
pos = 0;
ii = 0;
while (srt[ii] != '\0')