From 4017b59f9767820145776713526b472a6d856b97 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Tue, 10 Jan 2017 11:18:18 -0800 Subject: [PATCH] Init saw_caption_block in decoder context. --- src/lib_ccx/ccx_decoders_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib_ccx/ccx_decoders_common.c b/src/lib_ccx/ccx_decoders_common.c index c0ca1a23..649a3bcb 100644 --- a/src/lib_ccx/ccx_decoders_common.c +++ b/src/lib_ccx/ccx_decoders_common.c @@ -282,6 +282,7 @@ struct lib_cc_decode* init_cc_decode (struct ccx_decoders_common_settings_t *set ctx->extract = setting->extract; ctx->fullbin = setting->fullbin; ctx->hauppauge_mode = setting->hauppauge_mode; + ctx->saw_caption_block = 0; ctx->program_number = setting->program_number; ctx->processed_enough = 0; ctx->max_gop_length = 0;