[FFmpeg-soc] [soc]: r3172 - mxf/mxfenc.c

spyfeng subversion at mplayerhq.hu
Tue Aug 12 04:02:28 CEST 2008


Author: spyfeng
Date: Tue Aug 12 04:02:28 2008
New Revision: 3172

Log:
set right bodysid for header and footer partition


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Tue Aug 12 04:02:28 2008
@@ -1036,7 +1036,7 @@ static int mux_write_header(AVFormatCont
 
     // calculate the numner of essence container type
     mxf_build_essence_container_refs(s);
-    mxf_write_partition(s, 0, 0, header_partition_key);
+    mxf_write_partition(s, 0, 1, header_partition_key);
 
     // generate Source Package Set UMID for op1a
     // will be used by material_package->source_track->sequence->structual_component->source_package_id
@@ -1091,7 +1091,7 @@ static int mux_write_footer(AVFormatCont
     ByteIOContext *pb = s->pb;
 
     int64_t this_partition = url_ftell(pb);
-    mxf_write_partition(s, this_partition, 1, footer_partition_key);
+    mxf_write_partition(s, this_partition, 0, footer_partition_key);
 
     put_flush_packet(pb);
 



More information about the FFmpeg-soc mailing list