version 1.7, 2001/04/09 15:51:29
|
version 1.8, 2001/04/25 12:29:24
|
Line 182 typedef struct {
|
Line 182 typedef struct {
|
#define unionalloc(typ,fld) \ |
#define unionalloc(typ,fld) \ |
(malloc (sizeof(typ)-sizeof(((typ*)0)->u)+sizeof(((typ*)0)->u.fld))) |
(malloc (sizeof(typ)-sizeof(((typ*)0)->u)+sizeof(((typ*)0)->u.fld))) |
|
|
|
/* Release a chained list completely */ |
|
#define releasechain(typ,root) \ |
|
{ register typ *n, *p = root; \ |
|
while (p != NULL) { \ |
|
n = p->next; free (p); p = n; \ |
|
} } |
|
|
/* Reference descriptors as these are parsed from PSI */ |
/* Reference descriptors as these are parsed from PSI */ |
typedef struct { |
typedef struct { |
int programnumber; |
int programnumber; |
Line 206 typedef struct pmtdescr {
|
Line 213 typedef struct pmtdescr {
|
} pmt_descr; |
} pmt_descr; |
|
|
/* Automatic stream usage requests as stated via command */ |
/* Automatic stream usage requests as stated via command */ |
typedef struct { |
typedef struct tsautodescr { |
int sprg, tprg, ssid, tsid; |
struct tsautodescr *next; |
|
int sprg; |
|
int tprg; |
|
int ssid; /* ssid<0 when referencing a complete program */ |
|
int tsid; |
} tsauto_descr; |
} tsauto_descr; |
|
|
/* Supported input file types */ |
/* Supported input file types */ |
Line 273 typedef struct {
|
Line 284 typedef struct {
|
byte newpat_version; |
byte newpat_version; |
pmt_descr *pat; |
pmt_descr *pat; |
pmt_descr *newpat; |
pmt_descr *newpat; |
int tsautos; |
|
tsauto_descr *tsauto; |
tsauto_descr *tsauto; |
struct streamdescr *stream[MAX_STRPERTS]; |
struct streamdescr *stream[MAX_STRPERTS]; |
} ts; |
} ts; |