--- multiplexer/global.h 2001/04/30 15:58:29 1.10 +++ multiplexer/global.h 2001/05/05 13:14:55 1.11 @@ -194,7 +194,7 @@ typedef enum { ct_packetized, /* packetized elementary stream */ ct_program, /* program stream */ ct_transport, /* transport stream */ - ct_unknown + number_ct } content_type; /* stream data types, dependend on buffer contents */ @@ -202,7 +202,7 @@ typedef enum { sd_data, /* PES packet */ sd_map, /* mapreference containing descriptors */ sd_unparsedsi, /* TS packet containing raw partial SI sections */ - sd_unknown + number_sd } streamdata_type; /* Reference descriptors as these are parsed from PSI */ @@ -256,8 +256,7 @@ typedef struct { int payload; /* split payload used total */ int total; /* split total (skipped, used, wasted) */ int sequence; /* source counter for PES sequence */ - short opendatastreams; - short openotherstreams; + short openstreams[number_sd]; char *append_name; int append_filerefnum; int append_repeatitions;