]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvbpsi: Fix build when DVB is not enabled at all
authorJames Le Cuirot <chewi@gentoo.org>
Sun, 10 May 2020 22:02:14 +0000 (23:02 +0100)
committerFlole998 <Flole998@users.noreply.github.com>
Thu, 21 May 2020 11:50:52 +0000 (13:50 +0200)
src/input/mpegts/dvb_psi.c

index 15203d98cb5361d32cc83068f957481e0ca7ed20..96b1689fb3087ecaa049f2587e3fd9fca9258b37 100644 (file)
@@ -2331,9 +2331,11 @@ psi_tables_install ( mpegts_input_t *mi, mpegts_mux_t *mm,
     psi_tables_atsc_t(mm);
     break;
   case DVB_SYS_DVBC_ANNEX_B:
+#if ENABLE_MPEGTS_DVB
     if (idnode_is_instance(&mm->mm_id, &dvb_mux_dvbc_class))
       psi_tables_dvb(mm);
     else
+#endif
       psi_tables_atsc_c(mm);
     break;
   case DVB_SYS_NONE: