]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mpegts table: mpegts_table_add - tableid must be different, too
authorJaroslav Kysela <perex@perex.cz>
Fri, 6 Nov 2015 14:34:58 +0000 (15:34 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 6 Nov 2015 14:34:58 +0000 (15:34 +0100)
src/input/mpegts/mpegts_table.c

index 74e2f26890288fe2392e4a22380dfb3a06520e08..f625dbd08a4055912f6886ee3fc026b20e6dff4c 100644 (file)
@@ -201,6 +201,8 @@ mpegts_table_add
     } else if (pid >= 0) {
       if (mt->mt_pid != pid)
         continue;
+      if (mt->mt_table != tableid)
+        continue;
       if (mt->mt_callback != callback)
         continue;
     } else {