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

bcoudurier subversion
Tue Feb 10 23:59:13 CET 2009


Author: bcoudurier
Date: Tue Feb 10 23:59:13 2009
New Revision: 17139

Log:
fix timecode value

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	Tue Feb 10 23:38:02 2009	(r17138)
+++ trunk/libavformat/mxfenc.c	Tue Feb 10 23:59:13 2009	(r17139)
@@ -1299,7 +1299,7 @@ static void mxf_write_system_item(AVForm
     unsigned fps, frame;
     uint32_t time_code;
 
-    frame = mxf->edit_units_count;
+    frame = mxf->last_indexed_edit_unit + mxf->edit_units_count;
 
     // write system metadata pack
     put_buffer(pb, system_metadata_pack_key, 16);




More information about the ffmpeg-cvslog mailing list