changeset 4002:65cb6eca2944 libavformat

matroskaenc: require global header fixes issue696
author aurel
date Wed, 22 Oct 2008 21:14:42 +0000
parents fcb9de59245f
children dbc5c6bebb68
files matroskaenc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/matroskaenc.c	Tue Oct 21 21:40:24 2008 +0000
+++ b/matroskaenc.c	Wed Oct 22 21:14:42 2008 +0000
@@ -903,6 +903,7 @@
     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 @@
     mkv_write_header,
     mkv_write_packet,
     mkv_write_trailer,
+    .flags = AVFMT_GLOBALHEADER,
     .codec_tag = (const AVCodecTag* const []){codec_wav_tags, 0},
 };