]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mpegts_mux_unsubscribe_by_name: fixed nasty bug - used another link ptr
authorJaroslav Kysela <perex@perex.cz>
Fri, 24 Apr 2015 19:40:06 +0000 (21:40 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 24 Apr 2015 19:40:06 +0000 (21:40 +0200)
src/input/mpegts/mpegts_mux.c

index 54ab4f3f2622da667d5c6dea81afcf88f527bc74..678ad7eda8fce06f3f16901a3bfca3f2486a82d2 100644 (file)
@@ -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);