X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Flibzmpeg3%2Ftitle.C;fp=cinelerra-5.0%2Flibzmpeg3%2Ftitle.C;h=0000000000000000000000000000000000000000;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=a23c73b65590913464ca354061d9e18b6b396ee5;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/libzmpeg3/title.C b/cinelerra-5.0/libzmpeg3/title.C deleted file mode 100644 index a23c73b6..00000000 --- a/cinelerra-5.0/libzmpeg3/title.C +++ /dev/null @@ -1,101 +0,0 @@ -#include "libzmpeg3.h" - -ztitle_t:: -title_t(zmpeg3_t *zsrc, char *fpath) -{ - fs = new fs_t(zsrc, fpath); - src = zsrc; -} - -ztitle_t:: -title_t(zmpeg3_t *zsrc) -{ - fs = new fs_t(*zsrc->fs); - src = zsrc; -} - -ztitle_t:: -~title_t() -{ - delete fs; - if( cell_table_allocation ) - delete [] cell_table; -} - -ztitle_t:: -title_t(ztitle_t &title) -{ - src = title.src; - fs = new fs_t(*title.fs); - total_bytes = title.total_bytes; - start_byte = title.start_byte; - end_byte = title.end_byte; - - if( title.cell_table_size && title.cell_table ) { - cell_table_allocation = title.cell_table_allocation; - cell_table = new cell_t[cell_table_allocation]; - cell_table_size = title.cell_table_size; - for( int i=0; ipath, start_byte, end_byte, cell_table_size); - for( int i=0; icell_no = cell_no; - cell->title_start = title_start; - cell->title_end = title_end; - cell->program_start = program_start; - cell->program_end = program_end; - cell->cell_time = -1.; - cell->discontinuity = discontinuity; - ++cell_table_size; -} - -int ztitle_t:: -print_cells(FILE *output) -{ - if( cell_table ) { - for( int i=0; iprogram_start, cell->program_end, - cell->title_start, cell->title_end); - } - } - return 0; -} -