Increase reserved space for chapters to 4096 bytes.
authorNathan Caldwell <saintdev@gmail.com>
Tue, 3 Feb 2009 03:43:40 +0000 (2 20:43 -0700)
committerNathan Caldwell <saintdev@gmail.com>
Tue, 3 Feb 2009 03:43:40 +0000 (2 20:43 -0700)
Gives a little more headroom for chapters.

src/matroska.c

index 3b6c5ce..54cb84f 100644 (file)
@@ -29,8 +29,8 @@
 
 #define RESERVED_SEEKHEAD 0x100
 /* 256 bytes should be enough room for our Seek entries. */
-#define RESERVED_CHAPTERS 0x800
-/* 2048 bytes, hopefully enough for Chapters. */
+#define RESERVED_CHAPTERS 0x1000
+/* 4096 bytes, hopefully enough for Chapters. */
 
 int mk_seekFile(mk_Writer *w, uint64_t pos)
 {