[FFmpeg-soc] [soc]: r270 - matroska/matroskaenc.c

conrad subversion at mplayerhq.hu
Mon Jun 25 02:13:56 CEST 2007


Author: conrad
Date: Mon Jun 25 02:13:56 2007
New Revision: 270

Log:
SimpleBlocks are Matroska v2

Modified:
   matroska/matroskaenc.c

Modified: matroska/matroskaenc.c
==============================================================================
--- matroska/matroskaenc.c	(original)
+++ matroska/matroskaenc.c	Mon Jun 25 02:13:56 2007
@@ -123,8 +123,8 @@ static int mkv_write_header(AVFormatCont
     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);



More information about the FFmpeg-soc mailing list