[x264-devel] commit: SimpleBlock requires Matroska Doctype v2 (Jason Garrett-Glaser )

git version control git at videolan.org
Tue Feb 23 11:05:34 CET 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sun Feb 21 14:21:26 2010 -0800| [1a6d32b4a42f490ec817aa2ddb543dda8d9a8c9e] | committer: Jason Garrett-Glaser 

SimpleBlock requires Matroska Doctype v2

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=1a6d32b4a42f490ec817aa2ddb543dda8d9a8c9e
---

 output/matroska_ebml.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/output/matroska_ebml.c b/output/matroska_ebml.c
index 7265909..89790b7 100644
--- a/output/matroska_ebml.c
+++ b/output/matroska_ebml.c
@@ -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



More information about the x264-devel mailing list