From: Jaroslav Kysela Date: Tue, 21 Nov 2017 06:54:19 +0000 (+0100) Subject: mpegts: fix mpegts_input_cat_pass_callback - remove caids X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=303683b75cb0b566f9b26704517ec7e2caea7400;p=thirdparty%2Ftvheadend.git mpegts: fix mpegts_input_cat_pass_callback - remove caids --- diff --git a/src/input/mpegts/mpegts_input.c b/src/input/mpegts/mpegts_input.c index dc3d74565..9db6aafa6 100644 --- a/src/input/mpegts/mpegts_input.c +++ b/src/input/mpegts/mpegts_input.c @@ -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); }