Exit after an error & report correct error code

This commit is contained in:
Moritz Bunkus 2010-09-01 22:56:04 +02:00
parent 669a14146a
commit 7da56bd6fe
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-09-01 Moritz Bunkus <moritz@bunkus.org>
* mkvextract: bug fix: Errors such as 'file does not exist' did
not cause mkvextract to quit. Instead it continued and exited with
the result code 0.
2010-08-28 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: Certain frames in certain h.264/AVC raw

View File

@ -66,7 +66,7 @@ show_element(EbmlElement *l,
void
show_error(const std::string &error) {
mxinfo(boost::format("(%1%) %2%\n") % NAME % error);
mxerror(boost::format("(%1%) %2%\n") % NAME % error);
}
static void