# HG changeset patch # User bcoudurier # Date 1220142414 0 # Node ID 4d37219dda5fd95dfbbb35bdca4b773130e5f8cc # Parent 1df0cc74fd23da2a82e8477ed6e0efd8b828359a factorize diff -r 1df0cc74fd23 -r 4d37219dda5f mxfenc.c --- a/mxfenc.c Sun Aug 31 00:25:19 2008 +0000 +++ b/mxfenc.c Sun Aug 31 00:26:54 2008 +0000 @@ -258,11 +258,11 @@ if (write) { mxf_write_refs_count(pb, c->essence_container_count); - for (i = 0; i < c->essence_container_count; i++) + av_log(s,AV_LOG_DEBUG, "essence container count:%d\n", 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++) PRINT_KEY(s, "essence container ul:\n", ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid); + } } return c->essence_container_count; }