# HG changeset patch # User bcoudurier # Date 1168817571 0 # Node ID 9743c9db2c5ac8237a33fa163050731129e69f4d # Parent 94d01c5f0ffee27b9759fdd5fb5d278ffb0ff5e7 remove useless essence container data sets for now diff -r 94d01c5f0ffe -r 9743c9db2c5a mxf.c --- a/mxf.c Sun Jan 14 23:31:30 2007 +0000 +++ b/mxf.c Sun Jan 14 23:32:51 2007 +0000 @@ -133,8 +133,6 @@ typedef struct MXFContext { UID *packages_refs; int packages_count; - UID *essence_container_data_sets_refs; - int essence_container_data_sets_count; MXFMetadataSet **metadata_sets; int metadata_sets_count; const uint8_t *sync_key; @@ -307,14 +305,6 @@ url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */ get_buffer(pb, (uint8_t *)mxf->packages_refs, mxf->packages_count * sizeof(UID)); break; - case 0x1902: - mxf->essence_container_data_sets_count = get_be32(pb); - if (mxf->essence_container_data_sets_count >= UINT_MAX / sizeof(UID)) - return -1; - mxf->essence_container_data_sets_refs = av_malloc(mxf->essence_container_data_sets_count * sizeof(UID)); - url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */ - get_buffer(pb, (uint8_t *)mxf->essence_container_data_sets_refs, mxf->essence_container_data_sets_count * sizeof(UID)); - break; } return 0; } @@ -860,7 +850,6 @@ int i; av_freep(&mxf->packages_refs); - av_freep(&mxf->essence_container_data_sets_refs); for (i = 0; i < mxf->metadata_sets_count; i++) { switch (mxf->metadata_sets[i]->type) { case MultipleDescriptor: