[FFmpeg-cvslog] r15113 - trunk/libavformat/mxfenc.c

bcoudurier subversion
Sun Aug 31 06:25:44 CEST 2008


Author: bcoudurier
Date: Sun Aug 31 06:25:39 2008
New Revision: 15113

Log:
remove mxf_build_structural_metadata, simplify

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	(original)
+++ trunk/libavformat/mxfenc.c	Sun Aug 31 06:25:39 2008
@@ -636,13 +636,7 @@ static void mxf_write_package(AVFormatCo
         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_set
     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;
 }
 




More information about the ffmpeg-cvslog mailing list