Mercurial > libavformat.hg
changeset 3849:9dabc8338517 libavformat
remove mxf_build_structural_metadata, simplify
author | bcoudurier |
---|---|
date | Sun, 31 Aug 2008 04:25:39 +0000 |
parents | 1b5106f2b3f4 |
children | 84bc128c42d8 |
files | mxfenc.c |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mxfenc.c Sun Aug 31 04:24:00 2008 +0000 +++ b/mxfenc.c Sun Aug 31 04:25:39 2008 +0000 @@ -636,13 +636,7 @@ mxf_write_local_tag(pb, 16, 0x4701); mxf_write_uuid(pb, MultipleDescriptor, 0); } -} -static void mxf_build_structural_metadata(AVFormatContext *s, enum MXFMetadataSetType type) -{ - int i; - - mxf_write_package(s, type); if (type == SourcePackage) mxf_write_multi_descriptor(s); @@ -664,8 +658,8 @@ mxf_write_preface(s); mxf_write_identification(s); mxf_write_content_storage(s); - mxf_build_structural_metadata(s, MaterialPackage); - mxf_build_structural_metadata(s, SourcePackage); + mxf_write_package(s, MaterialPackage); + mxf_write_package(s, SourcePackage); return 0; }