Commit Graph

2 Commits

Author SHA1 Message Date
Moritz Bunkus
7362348340 all tools: fix exit code if warnings occurred
If a warning occurred then the exit code must be 1, not 0. This has been
broken in commit 6e35edac13 (since 7.0.0).

Fixes #1101.
2015-02-03 08:09:50 +01:00
Moritz Bunkus
8b3c3ab146 common: fix seek relative end of file offset handling
fseeko() etc. require negative offsets if seeking relative to the end of
the file should result in the file pointer being inside the
file. Therefore MKVToolNix' APIs require that, too, but some
calculations treated it as if it were the other war around.

Fixes #1035.
2014-07-27 12:47:25 +02:00