if (ml->op) ml->op(t, ml->ml_opaque);\
} (void)0
+/*
+ * Misc
+ */
+#if ENABLE_LINUXDVB
+void linuxdvb_filter_close ( int fd );
+#else
+static inline void linuxdvb_filter_close ( int fd ) { assert(0); };
+#endif
+
#endif /* __TVH_MPEGTS_H__ */
/******************************************************************************
return res;
}
+void
+linuxdvb_filter_close
+ ( int fd )
+{
+ close(fd);
+}
+
static void
linuxdvb_frontend_open_pid0
( linuxdvb_frontend_t *lfe, mpegts_pid_t *mp )
if (!RB_FIRST(&mp->mp_subs)) {
RB_REMOVE(&mm->mm_pids, mp, mp_link);
if (mp->mp_fd != -1)
- close(mp->mp_fd);
+ linuxdvb_filter_close(mp->mp_fd);
free(mp);
}
}
}
RB_REMOVE(&mm->mm_pids, mp, mp_link);
if (mp->mp_fd != -1)
- close(mp->mp_fd);
+ linuxdvb_filter_close(mp->mp_fd);
free(mp);
}
pthread_mutex_unlock(&mi->mi_output_lock);