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

spyfeng subversion at mplayerhq.hu
Fri Jul 18 17:12:58 CEST 2008


Author: spyfeng
Date: Fri Jul 18 17:12:57 2008
New Revision: 2816

Log:
Move struct definition where others structs defs are


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Fri Jul 18 17:12:57 2008
@@ -80,6 +80,18 @@ typedef struct {
     UID **structural_component;
 } MXFReferenceContext;
 
+typedef struct MXFContext {
+    UMID top_sour_package_uid;
+    int64_t header_byte_count;
+    int64_t header_start;
+    int64_t header_byte_count_offset;
+    int64_t header_footer_partition_offset;
+    AVRandomState random_state;
+    MXFReferenceContext *reference;
+    char *track_number_sign;
+    UID *track_essence_element_key;
+} MXFContext;
+
 static const uint8_t umid_base[] = {0x06, 0x0a, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x0f, 0x00, 0x13, 0x00, 0x00, 0x00};//16 bytes
 
 /* complete key */
@@ -156,18 +168,6 @@ static const MXFLocalTagPair mxf_local_t
     { 0x1102, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x06,0x01,0x01,0x03,0x02,0x00,0x00,0x00}},/* SourceTrackID */
 };
 
-typedef struct MXFContext {
-    UMID top_sour_package_uid;
-    int64_t header_byte_count;
-    int64_t header_start;
-    int64_t header_byte_count_offset;
-    int64_t header_footer_partition_offset;
-    AVRandomState random_state;
-    MXFReferenceContext *reference;
-    char *track_number_sign;
-    UID *track_essence_element_key;
-} MXFContext;
-
 #define PRINT_KEY(pc, s, x) dprintf(pc, "%s %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n", s, \
                              (x)[0], (x)[1], (x)[2], (x)[3], (x)[4], (x)[5], (x)[6], (x)[7], (x)[8], (x)[9], (x)[10], (x)[11], (x)[12], (x)[13], (x)[14], (x)[15])
 static void mxf_generate_uuid(AVFormatContext *s, UID uuid)



More information about the FFmpeg-soc mailing list