summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-10-22 21:14:42 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-10-22 21:14:42 +0000
commitabce34d97973bc70562fab751d42195b4b60b751 (patch)
tree73e54fe5cc7946c1a1b9f2dd718ce7c064e0d9d3 /libavformat/matroskaenc.c
parentd9fe7eb385a963b722fe830471728d2947387977 (diff)
matroskaenc: require global header
fixes issue696 Originally committed as revision 15667 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r--libavformat/matroskaenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 742b39da76..a2d7347cba 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -903,6 +903,7 @@ AVOutputFormat matroska_muxer = {
mkv_write_header,
mkv_write_packet,
mkv_write_trailer,
+ .flags = AVFMT_GLOBALHEADER,
.codec_tag = (const AVCodecTag* const []){codec_bmp_tags, codec_wav_tags, 0},
.subtitle_codec = CODEC_ID_TEXT,
};
@@ -918,5 +919,6 @@ AVOutputFormat matroska_audio_muxer = {
mkv_write_header,
mkv_write_packet,
mkv_write_trailer,
+ .flags = AVFMT_GLOBALHEADER,
.codec_tag = (const AVCodecTag* const []){codec_wav_tags, 0},
};