Fix a bug that would cause us to write an invalid file if both Chapters and Tags...
commita8994b73e4393c92e4f60b72721a610b3801899c
authorNathan Caldwell <saintdev@gmail.com>
Mon, 12 Jan 2009 06:49:19 +0000 (11 23:49 -0700)
committerNathan Caldwell <saintdev@gmail.com>
Mon, 12 Jan 2009 06:49:19 +0000 (11 23:49 -0700)
tree4e18828f36f011f96a2e992b3a5f03e5c5ca6490
parentafede70d648c53d14495e456225ee59c8bb29855
Fix a bug that would cause us to write an invalid file if both Chapters and Tags were used with VLC mode.
We now always write Tags at end of file. The problem was when writing Chapters with VLC mode on we seek to the header, but we don't seek back to the end of the file afterword. To avoid unnecessary seeks just write Tags before writing Chapters.
src/matroska.c