From: Jaroslav Kysela Date: Fri, 24 Apr 2015 19:40:06 +0000 (+0200) Subject: mpegts_mux_unsubscribe_by_name: fixed nasty bug - used another link ptr X-Git-Tag: v4.1~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2d7cef4201b7737a59683cbf99f3b3e6060a8d;p=thirdparty%2Ftvheadend.git mpegts_mux_unsubscribe_by_name: fixed nasty bug - used another link ptr --- diff --git a/src/input/mpegts/mpegts_mux.c b/src/input/mpegts/mpegts_mux.c index 54ab4f3f2..678ad7eda 100644 --- a/src/input/mpegts/mpegts_mux.c +++ b/src/input/mpegts/mpegts_mux.c @@ -1181,7 +1181,7 @@ mpegts_mux_unsubscribe_by_name s = LIST_FIRST(&mm->mm_raw_subs); while (s) { - n = LIST_NEXT(s, ths_global_link); + n = LIST_NEXT(s, ths_mux_link); t = s->ths_service; if (t && t->s_type == STYPE_RAW && !strcmp(s->ths_title, name)) subscription_unsubscribe(s, 0);