diff --git a/src/input/mpegts/psi.h b/src/input/mpegts/psi.h deleted file mode 100644 index 3e28807d..00000000 --- a/src/input/mpegts/psi.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Multicasted IPTV Input - * Copyright (C) 2007 Andreas Öman - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef PSI_H_ -#define PSI_H_ - -#include "htsmsg.h" -#include "streaming.h" - -#define PSI_SECTION_SIZE 5000 - -// TODO: tidy this up -struct mpegts_service; -struct mpegts_table; - -int psi_parse_pmt - (struct mpegts_service *t, const uint8_t *ptr, int len, int chksvcid, - int delete); - -const char *psi_caid2name(uint16_t caid); - -void psi_load_service_settings(htsmsg_t *m, struct mpegts_service *t); -void psi_save_service_settings(htsmsg_t *m, struct mpegts_service *t); - -int psi_pat_callback - (struct mpegts_table *mt, const uint8_t *ptr, int len, int tableid); - -#endif /* PSI_H_ */ diff --git a/src/input/mpegts/tsdemux.c b/src/input/mpegts/tsdemux.c index bf0fa07a..8818ec4c 100644 --- a/src/input/mpegts/tsdemux.c +++ b/src/input/mpegts/tsdemux.c @@ -34,12 +34,11 @@ #include "tvheadend.h" #include "subscriptions.h" -#include "psi.h" -#include "tsdemux.h" #include "parsers.h" #include "streaming.h" #include "input/mpegts.h" #include "parsers/parser_teletext.h" +#include "tsdemux.h" #define TS_REMUX_BUFSIZE (188 * 100)