void quicktime_stsd_table_delete(quicktime_stsd_table_t *table) { quicktime_ctab_delete(&(table->ctab)); quicktime_mjqt_delete(&(table->mjqt)); quicktime_mjht_delete(&(table->mjht)); if(table->extradata) free(table->extradata); quicktime_delete_avcc(&(table->avcc)); quicktime_delete_esds(&(table->esds)); }
void quicktime_stsd_table_delete(quicktime_stsd_table_t *table) { quicktime_ctab_delete(&(table->ctab)); quicktime_mjqt_delete(&(table->mjqt)); quicktime_mjht_delete(&(table->mjht)); quicktime_delete_avcc(&(table->avcc)); quicktime_delete_esds(&(table->esds)); quicktime_delete_frma(&(table->frma)); }
int quicktime_moov_delete(quicktime_moov_t *moov) { int i; while(moov->total_tracks) { quicktime_delete_trak(moov, moov->trak[moov->total_tracks - 1]); } quicktime_mvhd_delete(&(moov->mvhd)); quicktime_iods_delete(&(moov->iods)); quicktime_udta_delete(&(moov->udta)); quicktime_ctab_delete(&(moov->ctab)); return 0; }