TOOLS/matroska.py: stop cleanly at EOF of complete file when parsing
commit3a1f89810fedf98b66e1fae8b0c3f5862417730a
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 1 Nov 2010 02:59:47 +0000 (1 04:59 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:18:37 +0000 (2 04:18 +0200)
treebf88d45f95cdd2afdf57b3f91c64e4beb136856f
parent49096c7ae28bdaa350d6d184e741f0d48dac8fbb
TOOLS/matroska.py: stop cleanly at EOF of complete file when parsing

When using the script to parse a Matroska file, the script used to
exit with an exception at EOF. Change it to exit quietly instead if
the file was parsed successfully. Keep showing an exception if EOF is
encountered in the middle of an element (truncated file).
TOOLS/matroska.py