Fix up EBML lacing, it was majorly b0rked.
commit02fc0eb0fa89a493792e3ab25dd2abf35d921ba9
authorNathan Caldwell <saintdev@gmail.com>
Sun, 20 Jan 2008 06:04:38 +0000 (19 23:04 -0700)
committerNathan Caldwell <saintdev@gmail.com>
Mon, 28 Jan 2008 23:40:43 +0000 (28 16:40 -0700)
tree1f7fc96dd23882370255b90e87e6aad3e7a81bf8
parentaf449c7c2f00dd793dfad52c3707a1450cb6b25e
Fix up EBML lacing, it was majorly b0rked.
-All lacing sizes should be the same width (was mixing 32 and 64 bit ints)
-Move the calculation of the number of bytes used by sizes before BlockGroup.
-Add above to the size of the BlockGroup.
-Fix lacing flags.
-Copy the correct number of bytes when copying the lacing sizes.

Misc: Add some comments. Rename c_delta_flags to c_delta because flags are handled
seperatly.
include/libmkv.h
src/matroska.c