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

spyfeng subversion at mplayerhq.hu
Sat Aug 16 06:50:33 CEST 2008


Author: spyfeng
Date: Sat Aug 16 06:50:33 2008
New Revision: 3337

Log:
rename "this_partition" to "byte_position" in mxf_write_partition() 


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Sat Aug 16 06:50:33 2008
@@ -852,7 +852,7 @@ static int mxf_build_essence_container_r
     return 0;
 }
 
-static void mxf_write_partition(AVFormatContext *s, int64_t this_partition, int bodysid, const uint8_t *key)
+static void mxf_write_partition(AVFormatContext *s, int64_t byte_position, int bodysid, const uint8_t *key)
 {
     MXFContext *mxf = s->priv_data;
     ByteIOContext *pb = s->pb;
@@ -868,16 +868,16 @@ static void mxf_write_partition(AVFormat
     put_be16(pb, 2); // minorVersion
     put_be32(pb, 1); // kagSize
 
-    put_be64(pb, this_partition); // thisPartition
+    put_be64(pb, byte_position); // thisPartition
     put_be64(pb, 0); // previousPartition
 
     // set offset
-    if (!this_partition)
+    if (!byte_position)
         mxf->header_footer_partition_offset = url_ftell(pb);
-    put_be64(pb, this_partition); // footerPartition,update later
+    put_be64(pb, byte_position); // footerPartition,update later
 
     // set offset
-    if (!this_partition)
+    if (!byte_position)
         mxf->header_byte_count_offset = url_ftell(pb);
     put_be64(pb, 0); // headerByteCount, update later
 



More information about the FFmpeg-soc mailing list