From 64d300d15e85797acf0d215054a4511d4d33e8d9 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Tue, 11 Oct 2016 13:19:16 -0700 Subject: [PATCH] Fixed position_sanity_check for myth.c --- src/lib_ccx/myth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_ccx/myth.c b/src/lib_ccx/myth.c index a34908bb..ecf2a3d1 100644 --- a/src/lib_ccx/myth.c +++ b/src/lib_ccx/myth.c @@ -787,7 +787,7 @@ void myth_loop(struct lib_ccx_ctx *ctx) memset(&dec_sub, 0, sizeof(dec_sub)); while (is_decoder_processed_enough(ctx) == CCX_FALSE && (rc=mpegps_read_packet(ctx->demux_ctx))==0) { - position_sanity_check(ctx); + position_sanity_check(ctx->demux_ctx); if (av.codec_id==CODEC_ID_MPEG2VBI && av.type==CODEC_TYPE_DATA) { if (!has_vbi)