[FFmpeg-cvslog] r15074 - trunk/libavformat/mxfenc.c

bcoudurier subversion
Sun Aug 31 02:26:54 CEST 2008


Author: bcoudurier
Date: Sun Aug 31 02:26:54 2008
New Revision: 15074

Log:
factorize

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	(original)
+++ trunk/libavformat/mxfenc.c	Sun Aug 31 02:26:54 2008
@@ -258,11 +258,11 @@ static int mxf_write_essence_container_r
 
     if (write) {
         mxf_write_refs_count(pb, c->essence_container_count);
-        for (i = 0; i < c->essence_container_count; i++)
-            put_buffer(pb, ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid, 16);
         av_log(s,AV_LOG_DEBUG, "essence container count:%d\n", c->essence_container_count);
-        for (i = 0; i < c->essence_container_count; i++)
+        for (i = 0; i < c->essence_container_count; i++) {
+            put_buffer(pb, ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid, 16);
             PRINT_KEY(s, "essence container ul:\n", ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid);
+        }
     }
     return c->essence_container_count;
 }




More information about the ffmpeg-cvslog mailing list