]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvb psi: nit - set private2 data only for 0x40 table
authorJaroslav Kysela <perex@perex.cz>
Mon, 12 Feb 2018 19:26:53 +0000 (20:26 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 12 Feb 2018 19:26:53 +0000 (20:26 +0100)
src/input/mpegts/dvb_psi.c

index 415a9600a6fbe855c038bc003c07519ad3a0a1de..1548f24755906eadca85a963ebca994ab93267c1 100644 (file)
@@ -1635,7 +1635,7 @@ dvb_nit_callback
         retry = 1; /* keep rolling - perhaps SDT was not parsed yet */
     }
 
-    if (priv == 0) {
+    if (tableid == 0x40 && priv == 0) {
       priv2 = dvb_priv_lookup(mt, lptr, llen);
       if (priv2) {
         tvhtrace(mt->mt_subsys, "%s: using private2 data 0x%08x", mt->mt_name, priv2);