]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: fix wrong active frontend check
authorJaroslav Kysela <perex@perex.cz>
Thu, 11 May 2017 12:52:29 +0000 (14:52 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 12 May 2017 19:45:38 +0000 (21:45 +0200)
src/input/mpegts/linuxdvb/linuxdvb_satconf.c

index 80e79617d101926695daf2402da790054f387103..8820849b491162caa964fa780b757b5ecca8b06e 100644 (file)
@@ -53,7 +53,7 @@ linuxdvb_satconf_class_active_get ( void *obj )
   linuxdvb_satconf_t *ls = obj;
   linuxdvb_satconf_ele_t *lse;
   active = 0;
-  if (linuxdvb_frontend_class_active_get(ls->ls_frontend)) {
+  if (*(int *)linuxdvb_frontend_class_active_get(ls->ls_frontend)) {
     TAILQ_FOREACH(lse, &ls->ls_elements, lse_link) {
       if (lse->lse_enabled) {
         active = 1;