Mercurial > libavformat.hg
changeset 3850:84bc128c42d8 libavformat
factorize
author | bcoudurier |
---|---|
date | Sun, 31 Aug 2008 04:26:12 +0000 |
parents | 9dabc8338517 |
children | 9b3ad7f292a4 |
files | mxfenc.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mxfenc.c Sun Aug 31 04:25:39 2008 +0000 +++ b/mxfenc.c Sun Aug 31 04:26:12 2008 +0000 @@ -635,11 +635,9 @@ if (type == SourcePackage) { mxf_write_local_tag(pb, 16, 0x4701); mxf_write_uuid(pb, MultipleDescriptor, 0); + mxf_write_multi_descriptor(s); } - if (type == SourcePackage) - mxf_write_multi_descriptor(s); - for (i = 0; i < s->nb_streams; i++) { AVStream *st = s->streams[i]; mxf_write_track(s, st, type);