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

bcoudurier subversion
Tue Feb 10 07:09:51 CET 2009


Author: bcoudurier
Date: Tue Feb 10 07:09:50 2009
New Revision: 17119

Log:
fix header byte count

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	Tue Feb 10 06:35:28 2009	(r17118)
+++ trunk/libavformat/mxfenc.c	Tue Feb 10 07:09:50 2009	(r17119)
@@ -1036,11 +1036,12 @@ static void mxf_write_partition(AVFormat
 
     if (write_metadata) {
         // mark the start of the headermetadata and calculate metadata size
-        int64_t pos, start = url_ftell(s->pb);
+        int64_t pos, start;
         unsigned header_byte_count;
 
         mxf_write_klv_fill(s);
 
+        start = url_ftell(s->pb);
         mxf_write_primer_pack(s);
         mxf_write_header_metadata_sets(s);
         pos = url_ftell(s->pb);




More information about the ffmpeg-cvslog mailing list