Commit b00ec4f2 authored by bcoudurier's avatar bcoudurier

remove mxf_build_structural_metadata, simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15113 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 863e103b
...@@ -636,13 +636,7 @@ static void mxf_write_package(AVFormatContext *s, enum MXFMetadataSetType type) ...@@ -636,13 +636,7 @@ static void mxf_write_package(AVFormatContext *s, enum MXFMetadataSetType type)
mxf_write_local_tag(pb, 16, 0x4701); mxf_write_local_tag(pb, 16, 0x4701);
mxf_write_uuid(pb, MultipleDescriptor, 0); 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) if (type == SourcePackage)
mxf_write_multi_descriptor(s); mxf_write_multi_descriptor(s);
...@@ -664,8 +658,8 @@ static int mxf_write_header_metadata_sets(AVFormatContext *s) ...@@ -664,8 +658,8 @@ static int mxf_write_header_metadata_sets(AVFormatContext *s)
mxf_write_preface(s); mxf_write_preface(s);
mxf_write_identification(s); mxf_write_identification(s);
mxf_write_content_storage(s); mxf_write_content_storage(s);
mxf_build_structural_metadata(s, MaterialPackage); mxf_write_package(s, MaterialPackage);
mxf_build_structural_metadata(s, SourcePackage); mxf_write_package(s, SourcePackage);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment