aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-31 04:25:39 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-31 04:25:39 +0000
commitf05773ea8fd73afdd9ebc88c8f4bf0a236b691e4 (patch)
treef50d3ba0e5aef5bcca08f109d1f1f4a75eb7895a /libavformat
parent98f7c5e067b40e93b693a392e30f59af480dadc2 (diff)
downloadffmpeg-f05773ea8fd73afdd9ebc88c8f4bf0a236b691e4.tar.gz
remove mxf_build_structural_metadata, simplify
Originally committed as revision 15113 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mxfenc.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 5fcffd87a6..36af7bae71 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -636,13 +636,7 @@ static void mxf_write_package(AVFormatContext *s, enum MXFMetadataSetType type)
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 @@ static int mxf_write_header_metadata_sets(AVFormatContext *s)
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;
}