mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
eitd: remove most of code under #if 0
Origin commit data
------------------
Branch: ni/coolstream
Commit: de2140ec78
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-01 (Wed, 01 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -85,96 +85,6 @@
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
|
||||
// Houdini: not used in the code at the moment, found in SIsections.cpp
|
||||
#if 0
|
||||
static const char descr_tbl[][50] = {
|
||||
// defined by ISO/IEC 13818-1 P64
|
||||
"Reserved",
|
||||
"Reserved",
|
||||
"Video Stream",
|
||||
"Audio Stream",
|
||||
"Hierarchy",
|
||||
"Registration",
|
||||
"Data Stream Alignment",
|
||||
"Target Background Grid",
|
||||
"Video Window",
|
||||
"CA",
|
||||
"ISO 639 Language",
|
||||
"System Clock",
|
||||
"Multiplex Buffer Utilization",
|
||||
"Copyright",
|
||||
"Maximum Bitrate",
|
||||
"Private Data Indicator",
|
||||
"Smoothing Buffer",
|
||||
"STD",
|
||||
"IBP",
|
||||
"ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Reserved",
|
||||
// defined by ETSI
|
||||
"Network Name",
|
||||
"Service List",
|
||||
"Stuffing",
|
||||
"Satellite Delivery System",
|
||||
"Cable Delivery System",
|
||||
"Reserved for future use",
|
||||
"Reserved for future use",
|
||||
"Bouquet Name",
|
||||
"Service",
|
||||
"Country Availability",
|
||||
"Linkage",
|
||||
"NVOD Reference",
|
||||
"Time Shifted Service",
|
||||
"Short Event",
|
||||
"Extended Event",
|
||||
"Time Shifted Event",
|
||||
"Component",
|
||||
"Mosaic",
|
||||
"Stream Identifier",
|
||||
"CA Identifier",
|
||||
"Content",
|
||||
"Parental Rating",
|
||||
"Teletext",
|
||||
"Telephone",
|
||||
"Local Time Offset",
|
||||
"Subtitling",
|
||||
"Terrestrial Delivery System",
|
||||
"Multilingual Network Name",
|
||||
"Multilingual Bouquet Name",
|
||||
"Multilingual Service Name",
|
||||
"Multilingual Component",
|
||||
"Private Data Specifier",
|
||||
"Service Move",
|
||||
"Short Smoothing Buffer",
|
||||
"Reserved for future use",
|
||||
"User defined",
|
||||
"FORBIDDEN"
|
||||
};
|
||||
|
||||
// Thanks to tmbinc
|
||||
const char *decode_descr (unsigned char _index) {
|
||||
int index = _index;
|
||||
|
||||
if (_index>=0x13 && _index<=0x3F)
|
||||
index = 0x13;
|
||||
|
||||
if (_index>=0x40)
|
||||
index -= (0x3F - 0x13);
|
||||
|
||||
if (_index>=0x62 && _index<=0x7F)
|
||||
index = 0x62 - (_index - index);
|
||||
|
||||
if (_index>=0x80)
|
||||
index -= (0x7F - 0x62);
|
||||
|
||||
if (_index>=0x80 && _index<=0xFE)
|
||||
index = 0x80 - (_index - index);
|
||||
|
||||
if (_index == 0xFF)
|
||||
index = 0xFF - (_index - index) - (0xFE - 0x80);
|
||||
|
||||
return descr_tbl[index];
|
||||
}
|
||||
#endif
|
||||
|
||||
// Thanks to kwon
|
||||
time_t changeUTCtoCtime(const unsigned char *buffer, int local_time)
|
||||
{
|
||||
|
Reference in New Issue
Block a user