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

spyfeng subversion at mplayerhq.hu
Wed Jul 23 18:55:27 CEST 2008


Author: spyfeng
Date: Wed Jul 23 18:55:27 2008
New Revision: 2840

Log:
fix bug in mxf_write_sequence().
write 8 bytes instead of 4 bytes.


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Wed Jul 23 18:55:27 2008
@@ -651,7 +651,7 @@ static int mxf_write_sequence(AVFormatCo
     put_buffer(pb, data_def_ul->uid, 16);
 
     mxf_write_local_tag(pb, 8, 0x0202);
-    put_be32(pb, st->duration);
+    put_be64(pb, st->duration);
 
     // write structural component
     if (mxf_generate_reference(s, &refs->structural_component[stream_index], 1) < 0)



More information about the FFmpeg-soc mailing list