]> git.sesse.net Git - x264/commitdiff
SimpleBlock requires Matroska Doctype v2
authorFiona Glaser <fiona@x264.com>
Sun, 21 Feb 2010 22:21:26 +0000 (14:21 -0800)
committerFiona Glaser <fiona@x264.com>
Tue, 23 Feb 2010 09:46:11 +0000 (01:46 -0800)
output/matroska_ebml.c

index 7265909430c90897034f14219e346b3bb9c8f8a0..89790b7defe32cd663b4fb5c4198e51924805a83 100644 (file)
@@ -338,8 +338,8 @@ int mk_writeHeader( mk_writer *w, const char *writing_app,
     CHECK( mk_write_uint( c, 0x42f2, 4 ) ); // EBMLMaxIDLength
     CHECK( mk_write_uint( c, 0x42f3, 8 ) ); // EBMLMaxSizeLength
     CHECK( mk_write_string( c, 0x4282, "matroska") ); // DocType
-    CHECK( mk_write_uint( c, 0x4287, 1 ) ); // DocTypeVersion
-    CHECK( mk_write_uint( c, 0x4285, 1 ) ); // DocTypeReadversion
+    CHECK( mk_write_uint( c, 0x4287, 2 ) ); // DocTypeVersion
+    CHECK( mk_write_uint( c, 0x4285, 2 ) ); // DocTypeReadversion
     CHECK( mk_close_context( c, 0 ) );
 
     if( !(c = mk_create_context( w, w->root, 0x18538067 )) ) // Segment