diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-01-14 23:32:51 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-01-14 23:32:51 +0000 |
commit | d8b3576d42f4beba8aaf1e6da60112836f8a315c (patch) | |
tree | 1772c5b8ebafa0628ba12c0191b2121e88b36d7d /libavformat | |
parent | 8b621afbd127ff181d251087f90198445266ad87 (diff) | |
download | ffmpeg-streaming-d8b3576d42f4beba8aaf1e6da60112836f8a315c.zip ffmpeg-streaming-d8b3576d42f4beba8aaf1e6da60112836f8a315c.tar.gz |
remove useless essence container data sets for now
Originally committed as revision 7516 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mxf.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index f7a3f43..869aed9 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -133,8 +133,6 @@ typedef struct { 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 @@ static int mxf_read_metadata_content_storage(MXFContext *mxf, ByteIOContext *pb, 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 @@ static int mxf_read_close(AVFormatContext *s) 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: |