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

spyfeng subversion at mplayerhq.hu
Sat Aug 2 09:15:23 CEST 2008


Author: spyfeng
Date: Sat Aug  2 09:15:23 2008
New Revision: 2987

Log:
define track_number_sign[] as local variable array


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Sat Aug  2 09:15:23 2008
@@ -123,8 +123,6 @@ static const MXFEssenceElementKey mxf_es
     { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, CODEC_ID_NONE},
 };
 
-static track_number_sign[sizeof(mxf_essence_element_key)/sizeof(MXFEssenceElementKey)] = { 0 };
-
 /**
  * SMPTE RP224 http://www.smpte-ra.org/mdd/index.html
  */
@@ -586,6 +584,7 @@ static int mxf_write_track(AVFormatConte
     MXFStreamContext *sc;
     const MXFEssenceElementKey *element;
     int i = 0;
+    int track_number_sign[sizeof(mxf_essence_element_key)/sizeof(MXFEssenceElementKey)] = { 0 };
 
     AV_WB24(klv->key + 13, 0x013b00);
 



More information about the FFmpeg-soc mailing list