From d72e946213aef55bbc4d584ee600ba400ca199ce Mon Sep 17 00:00:00 2001 From: Evgeny Shulgin Date: Mon, 23 Jan 2017 19:29:28 +0400 Subject: [PATCH] Fixed ttxt 708 files segfault --- src/lib_ccx/ccx_decoders_708_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_ccx/ccx_decoders_708_output.c b/src/lib_ccx/ccx_decoders_708_output.c index f887e85b..addfcd4a 100644 --- a/src/lib_ccx/ccx_decoders_708_output.c +++ b/src/lib_ccx/ccx_decoders_708_output.c @@ -279,7 +279,7 @@ void ccx_dtvcc_write_transcript(ccx_dtvcc_writer_ctx *writer, ccx_dtvcc_service_ if (strlen(buf)) write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf)); - _dtvcc_write_row(writer, tv, i, encoder, 0); + _dtvcc_write_row(writer, decoder, i, encoder, 0); write(encoder->dtvcc_writers[tv->service_number - 1].fd, encoder->encoded_crlf, encoder->encoded_crlf_length); }