]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mpegts: fix mpegts_input_cat_pass_callback - remove caids
authorJaroslav Kysela <perex@perex.cz>
Tue, 21 Nov 2017 06:54:19 +0000 (07:54 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 21 Nov 2017 06:54:19 +0000 (07:54 +0100)
src/input/mpegts/mpegts_input.c

index dc3d745654606f9555e0be31b80a16a17ab993f3..9db6aafa6b19e3b28e5232159828cde5a54bd402 100644 (file)
@@ -762,7 +762,7 @@ mpegts_input_cat_pass_callback
     if (es->es_type != SCT_CAT) continue;
     for (c = LIST_FIRST(&es->es_caids); c != NULL; c = cn) {
       cn = LIST_NEXT(c, link);
-      if (cn->delete_me) {
+      if (c->delete_me) {
         LIST_REMOVE(c, link);
         free(c);
       }