changeset 2438:5e587452dc48 libavformat

SimpleBlocks are Matroska v2
author conrad
date Wed, 05 Sep 2007 00:23:01 +0000
parents 36350b4c94fa
children 04ae6910d903
files matroskaenc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/matroskaenc.c	Wed Sep 05 00:23:00 2007 +0000
+++ b/matroskaenc.c	Wed Sep 05 00:23:01 2007 +0000
@@ -123,8 +123,8 @@
     put_ebml_uint   (pb, EBML_ID_EBMLMAXIDLENGTH    ,           4);
     put_ebml_uint   (pb, EBML_ID_EBMLMAXSIZELENGTH  ,           8);
     put_ebml_string (pb, EBML_ID_DOCTYPE            ,  "matroska");
-    put_ebml_uint   (pb, EBML_ID_DOCTYPEVERSION     ,           1);
-    put_ebml_uint   (pb, EBML_ID_DOCTYPEREADVERSION ,           1);
+    put_ebml_uint   (pb, EBML_ID_DOCTYPEVERSION     ,           2);
+    put_ebml_uint   (pb, EBML_ID_DOCTYPEREADVERSION ,           2);
     end_ebml_master(pb, ebml_header);
 
     mkv->segment = start_ebml_master(pb, MATROSKA_ID_SEGMENT);