From: Jaroslav Kysela Date: Wed, 31 May 2017 06:28:15 +0000 (+0200) Subject: dvb psi: fix the nit table parsing (wrong retry when the tsid is incomplete), fixes... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d1ab847a84b858f71c945ffae78a233a46b0ddf;p=thirdparty%2Ftvheadend.git dvb psi: fix the nit table parsing (wrong retry when the tsid is incomplete), fixes #4403 --- diff --git a/src/input/mpegts/dvb_psi.c b/src/input/mpegts/dvb_psi.c index 021e95824..649287d11 100644 --- a/src/input/mpegts/dvb_psi.c +++ b/src/input/mpegts/dvb_psi.c @@ -1522,8 +1522,8 @@ dvb_nit_callback if (r < 0) return r; } - if (mux->mm_onid == 0xffff && mux->mm_tsid == tsid) - retry = 1; /* keep rolling - perhaps PAT was not parsed yet */ + if (mm == mux && mux->mm_onid == 0xffff && mux->mm_tsid == tsid) + retry = 1; /* keep rolling - perhaps SDT was not parsed yet */ } lptr += r;