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

spyfeng subversion at mplayerhq.hu
Wed Aug 13 03:59:41 CEST 2008


Author: spyfeng
Date: Wed Aug 13 03:59:40 2008
New Revision: 3208

Log:
change name of the descriptor table from "read" to "write" when muxing 


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Wed Aug 13 03:59:40 2008
@@ -799,7 +799,7 @@ static int mxf_write_wav_desc(AVFormatCo
     return 0;
 }
 
-static const MXFDescriptorWriteTableEntry mxf_descriptor_read_table[] = {
+static const MXFDescriptorWriteTableEntry mxf_descriptor_write_table[] = {
     { { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x51,0x00 }, mxf_write_mpeg_video_desc, CODEC_ID_MPEG2VIDEO},
     { { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x48,0x00 }, mxf_write_wav_desc, CODEC_ID_PCM_S16LE},
     { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, NULL, CODEC_ID_NONE},
@@ -832,7 +832,7 @@ static int mxf_build_structural_metadata
             goto fail;
 
         if (type == SourcePackage) {
-            for (desc = mxf_descriptor_read_table; desc->write; desc++) {
+            for (desc = mxf_descriptor_write_table; desc->write; desc++) {
                 if (s->streams[i]->codec->codec_id == desc->type) {
                     ret = desc->write(s, desc, i);
                     if ( ret < 0) {



More information about the FFmpeg-soc mailing list