aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-31 04:26:12 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-31 04:26:12 +0000
commit6ae9d3faae802da68ad0e44d48da93ba276c61af (patch)
treef40aff1294bb5ecdcf982204aea912d555e9f825 /libavformat
parentf05773ea8fd73afdd9ebc88c8f4bf0a236b691e4 (diff)
downloadffmpeg-6ae9d3faae802da68ad0e44d48da93ba276c61af.tar.gz
factorize
Originally committed as revision 15114 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mxfenc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 36af7bae71..5096a4b76c 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -635,10 +635,8 @@ static void mxf_write_package(AVFormatContext *s, enum MXFMetadataSetType type)
if (type == SourcePackage) {
mxf_write_local_tag(pb, 16, 0x4701);
mxf_write_uuid(pb, MultipleDescriptor, 0);
- }
-
- if (type == SourcePackage)
mxf_write_multi_descriptor(s);
+ }
for (i = 0; i < s->nb_streams; i++) {
AVStream *st = s->streams[i];