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

spyfeng subversion at mplayerhq.hu
Fri Aug 15 10:23:08 CEST 2008


Author: spyfeng
Date: Fri Aug 15 10:23:08 2008
New Revision: 3315

Log:
add a function to write number of refs


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Fri Aug 15 10:23:08 2008
@@ -220,6 +220,12 @@ static void mxf_write_uuid(ByteIOContext
     put_be16(pb, value);
 }
 
+static void mxf_write_refs_count(ByteIOContext *pb, int ref_count)
+{
+    put_be32(pb, ref_count);
+    put_be32(pb, 16);
+}
+
 static int klv_encode_ber_length(ByteIOContext *pb, uint64_t len)
 {
     // Determine the best BER size



More information about the FFmpeg-soc mailing list