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

spyfeng subversion at mplayerhq.hu
Fri Jul 18 17:15:53 CEST 2008


Author: spyfeng
Date: Fri Jul 18 17:15:53 2008
New Revision: 2817

Log:
change local_tag_number assignment


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Fri Jul 18 17:15:53 2008
@@ -247,7 +247,7 @@ static int mxf_write_primer_pack(AVForma
     const MXFLocalTagPair *local_tag_batch;
     int i,local_tag_number = 0;
 
-    local_tag_number = sizeof(mxf_local_tag_batch) / 20;
+    local_tag_number = sizeof(mxf_local_tag_batch) / sizeof(MXFLocalTagPair);
 
     //write key and length
     put_buffer(pb, primer_pack_key, 16);



More information about the FFmpeg-soc mailing list