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

bcoudurier subversion
Sun Aug 31 05:20:41 CEST 2008


Author: bcoudurier
Date: Sun Aug 31 05:20:41 2008
New Revision: 15105

Log:
simplify current partition offset

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	(original)
+++ trunk/libavformat/mxfenc.c	Sun Aug 31 05:20:41 2008
@@ -693,7 +693,7 @@ static void mxf_write_partition(AVFormat
     put_be16(pb, 2); // minorVersion
     put_be32(pb, 1); // kagSize
 
-    put_be64(pb, byte_position); // thisPartition
+    put_be64(pb, url_ftell(pb) - 25); // thisPartition
     put_be64(pb, 0); // previousPartition
 
     // set offset




More information about the ffmpeg-cvslog mailing list