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

spyfeng subversion at mplayerhq.hu
Wed Jul 23 17:29:38 CEST 2008


Author: spyfeng
Date: Wed Jul 23 17:29:37 2008
New Revision: 2838

Log:
fix bug in mxf_write_primer_pack().
i was not initialized cause exceptions.


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Wed Jul 23 17:29:37 2008
@@ -263,7 +263,7 @@ static int mxf_write_primer_pack(AVForma
 {
     ByteIOContext *pb = s->pb;
     const MXFLocalTagPair *local_tag_batch;
-    int i,local_tag_number = 0;
+    int local_tag_number, i = 0;
 
     local_tag_number = sizeof(mxf_local_tag_batch) / sizeof(MXFLocalTagPair);
 



More information about the FFmpeg-soc mailing list