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-Tag: v4.2.3~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=433d6c8e47f60d61441a1c170c28a58e525c8b81;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 7c6a9229f..2486549b3 100644 --- a/src/input/mpegts/dvb_psi.c +++ b/src/input/mpegts/dvb_psi.c @@ -1516,8 +1516,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;